| From | Sent On | Attachments |
|---|---|---|
| Eric Richardson | Jan 7, 2009 8:55 pm | |
| Christian Thalinger | Jan 8, 2009 1:21 am | |
| Michael Franz | Jan 8, 2009 4:14 am | |
| Andrew John Hughes | Jan 8, 2009 4:45 am | |
| Eric Richardson | Jan 8, 2009 9:05 am | |
| Eric Richardson | Jan 8, 2009 9:10 am | |
| Eric Richardson | Jan 8, 2009 9:16 am | |
| Eric Richardson | Jan 9, 2009 10:13 am | |
| Christian Thalinger | Jan 10, 2009 1:49 am | |
| Mark Wielaard | Jan 11, 2009 4:28 am | |
| Christian Thalinger | Jan 11, 2009 4:51 am | |
| Mark Wielaard | Jan 11, 2009 5:10 am | .patch |
| Christian Thalinger | Jan 11, 2009 5:16 am | |
| Andrew John Hughes | Jan 11, 2009 9:18 am | |
| Christian Thalinger | Jan 11, 2009 9:37 am | |
| Mark Wielaard | Jan 11, 2009 10:22 am |
| Subject: | Re: Problem Compiling Java | |
|---|---|---|
| From: | Eric Richardson (ekri...@gmail.com) | |
| Date: | Jan 8, 2009 9:10:38 am | |
| List: | net.java.openjdk.bsd-port-dev | |
Michael,
On Thu, Jan 8, 2009 at 4:14 AM, Michael Franz <mvfr...@gmail.com> wrote:
Eric,
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.
Eric
Michael
On Thu, Jan 8, 2009 at 4:22 AM, Christian Thalinger < chri...@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 \
'hotspot-tools:openjdk/jdk/src/share/classes:openjdk/jdk/src/solaris/classes:openjdk/langtools/src/share/classes:openjdk/jaxp/src/share/classes:openjdk/corba/src/share/classes:openjdk/jaxws/src/share/classes:/Users/eric/java/icedtea6/generated:/Users/eric/java/icedtea6/rt' \
-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






.patch