On Wed, Apr 04, 2001 at 09:07:53AM -0700, Dana Rice wrote:
> Conor,
> where is this set?
>
> -----Original Message-----
> From: Conor MacNeill [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, April 03, 2001 6:55 PM
> To: [EMAIL PROTECTED]
> Subject: RE: javac on Unix
>
>
> Dana,
>
> Since javac is used as a class from within Ant, it is run within Ant's VM
> and therefore you need to increase the size of Ant's VM. You can do that
> with the JAVACMD environment variable. Set it to something like
> JAVACMD=java -Xmx256m
> for example.
>
> Conor
Hi Dana,
set this environment variable in ~/.antrc (maybe you call it $HOME/.antrc) on
*NIX boxes, don't forget to export it! The lines in my ~/.antrc read:
--------------------------------------------------
JAVA_HOME=/usr/local/jdk1.3
export JAVA_HOME
JAVACMD="/usr/local/jdk1.3/bin/java -mx400M"
export JAVACMD
--------------------------------------------------
(I don't think the setting of JAVA_HOME is necessary.)
cheers, Kai
--
"Kilt, n. A costume sometimes worn by Scotchmen in America an Americans
in Scotland." <Ambrose Bierce>
[EMAIL PROTECTED] + www.picturesafe.de
picturesafe GmbH, Lueerstr. 3, D-30175 Hannover fon:+49 511 85620 56
++ PGP Key fingerprint = D2 B9 58 DC 36 52 DB 6C 18 CC 43 9F 68 E0 21 97 ++