[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ant-user
Subject:    RE: Sending -J-mx128m to Javac Task
From:       Dana Rice <Dana.Rice () exodus ! net>
Date:       2001-04-30 23:29:33
[Download RAW message or body]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic