iteye_9218
iteye_9218
2009-06-03 09:42

ANT: Error starting modern compiler错误

已采纳

在Unix下编译JAVA程序报错
[code="java"]

[javac] The system is out of resources.
BUILD FAILED
lccmp.xml:106: Error starting modern compiler
[/code]

网上说是编译用JVM和JAVA_HOME的指向不同时

但我实际配置的是
[code="java"]
$JAVA_HOME
/home/lcims/daybuild/tools/jdk1.4
$ANT_HOME
/home/lcims/daybuild/tools/ANT
$PATH

.:/home/oracle/OraHome/bin:/home/lcims/VisiBroker7/bin:/home/lcims/daybuild/tools/jdk1.4/bin:/home/lcims/daybuild/tools/ANT/bin:/home/lcims/VisiBroker7/bin/apache2:/home/lcims/sybase/OCS-12_5/bin:/home/lcims/sybase/RPL-12_5/bin:/home/lcims/sybase/JS-12_5/bin:/home/lcims/sybase/ASE-12_5/bin:/home/lcims/sybase/ASE-12_5/install:/opt/SUNWspro/bin:/home/lcims/lcmp/bin:/usr/bin:/usr/ucb:/usr/ccs/bin:/etc:.:/home/lcims/lcmp/rrdtool/bin:/home/lcims/lcims/xuzg/flex-2.5.4:/opt/SUNWspro/prod/bin/ccfe:/opt/gnome/bin:/usr/local/bin:/opt/netscape:/home/lcims/xf/otp_src_R12B-4/bin
[/code]
并没有不同

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答

1条回答