You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Dana Rice <Da...@exodus.net> on 2001/05/01 01:29:33 UTC

RE: Sending -J-mx128m to Javac Task

No root was running it but cron apparently doesn't know any users .profile
.kshrc so that was the issue. The memory error came from the ant logfile and
was indirectly reporting the JAVA_HOME issue.
Thanks
Dana

-----Original Message-----
From: Bill.J.Fellows@mail.sprint.com
[mailto:Bill.J.Fellows@mail.sprint.com]
Sent: Monday, April 30, 2001 10:54 AM
To: ant-user@jakarta.apache.org
Subject: RE: Sending -J-mx128m to Javac Task


Sorry for coming late to the party so if this has been covered, my 
appologies.

Is root running the crontab?  It probably doesn't have JAVA_HOME set in 
it's variables.  Try adding something like 
setenv JAVA_HOME /usr/jdk1.2
or
export JAVA_HOME=/usr/jdk1.2
in your one line script.

Also, make sure you're handling your output.

No guess on the out of memory error though...

/bill