ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dana Rice <Dana.R...@exodus.net>
Subject RE: Sending -J-mx128m to Javac Task
Date Mon, 30 Apr 2001 23:29:33 GMT
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



Mime
View raw message