Trying to build classpath under AIX
rob.lougher at gmail.com
Fri May 9 11:06:41 UTC 2008
See the earlier posts about building Classpath without Classpath.
I use jikes, a native Java compiler to build an earlier non-generics
version of Classpath (you need to do this as jikes is not 1.5
compatible). I then use this with JamVM to run ecj. As ecj is 1.5
compatible, this can be used to build the latest version of Classpath.
With JamVM 1.5.1, compatible non-generics versions of Classpath are
0.92 or 0.93 (earlier versions of Classpath won't work). Both of
these can be used to run ecj.
I use a simple script to run ecj:
exec /usr/local/jamvm/bin/jamvm -Xmx512m -Xms256m \
-cp <path to ecj.jar> \
On 5/9/08, Thorbjørn Ravn Andersen <thunderaxiom at gmail.com> wrote:
> I am trying to build jamvm+GNU Classpath under AIX 5.2 which unfortunately
> does only have Java 1.4, and I got stuck on building Classpath which
> requires Java 1.5
> I tried playing around with the latest stable ecj.jar (and --disable-jni
> which I do not need) to get compilation going with that, but apparently it
> is not enough specifying the ecj.jar location. A shell script must be
> written and my plain attempt just to script a call to "java -jar ecj.jar"
> did not work out well. It misdetects which arguments the compiler
> supports- Perhaps it is an exit code thing.
> What is the recommended approach to get over this. I just need a headless
> Best regards,
More information about the Classpath