ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yaron Ruckenstein" <>
Subject javac and "-J-mx256m" passed as compilerarg
Date Tue, 24 Dec 2002 11:45:21 GMT

I have "out of memory exception" while compiling on win2000 with jdk1.3.1_03

This is the javc usage:

<javac destdir="${project.dir}/lib/classes"
	<compilerarg value="-J-mx500m"/>
	<src path="${project.dir}/src"/>

The Compilation fails, saying :
    [javac] javac: invalid flag: -J-mx500m
    [javac] Usage: javac <options> <source files>

When I performed my compilation with scripts, this option worked fine.

I thank you in advance for any suggestion,

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message