Problem Compiling Java
ekrichardson at gmail.com
Thu Jan 8 09:11:21 PST 2009
On Thu, Jan 8, 2009 at 4:14 AM, Michael Franz <mvfranz at gmail.com> wrote:
> You can edit your /opt/local/bin/ecj scrip to have a larger memory
> setting. I use -Xmx768m.
> java -Xmx768M org.eclipse.jdt.internal.compiler.batch.Main "$@"
> I cannot not explain all the details, but since ecj is a shell script it
> does not handle passing parameters all that well to java. I have found
> other people's attempts and I have tried my self. There is all kinds of fun
> trying to deal with the shell expanding parameters when they need to be
> passed verbatim.
Sure, I can definitely try this edit. I remember how obscure shell scripts
can be in this regard.
> On Thu, Jan 8, 2009 at 4:22 AM, Christian Thalinger <
> christian.thalinger at gmail.com> wrote:
>> On Wed, 2009-01-07 at 20:56 -0800, Eric Richardson wrote:
>> > I changed the Makefile to get more memory.
>> > patrizia-imac-g5:icedtea6 eric$ make
>> > if ! test -d /Users/eric/java/icedtea6/bootstrap/jdk1.6.0 ; \
>> > then \
>> > /opt/local/bin/ecj -nowarn -J-Xmx4096m -g -d lib/hotspot-tools \
>> > -source 1.5 \
>> > -sourcepath \
>> > -bootclasspath '' @hotspot-tools-source-files.txt ; \
>> > else \
>> > /Users/eric/java/icedtea6/bootstrap/jdk1.6.0/bin/javac
>> > -J-Xmx4096m -g \
>> Is bootstrap/jdk1.6.0/bin/javac using ECJ or Apple's Javac? If it's
>> ECJ, -J options are ignored.
>> - Christian
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the distro-pkg-dev