Re: Trying to build classpath under AIX

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

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:

#!/bin/sh
exec /usr/local/jamvm/bin/jamvm -Xmx512m -Xms256m \
    -cp <path to ecj.jar> \
    org.eclipse.jdt.internal.compiler.batch.Main \
    "$@"

Rob.

On 5/9/08, Thorbjørn Ravn Andersen <thunderaxiom@xxxxxxxxx> wrote:
> Hi.
>
> 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
> version.
>
> Best regards,
> --
>  Thorbjørn
>
>
>
>
>



[Index of Archives]     [Linux Kernel]     [Linux Cryptography]     [Fedora]     [Fedora Directory]     [Red Hat Development]

  Powered by Linux