Build progress on Mac OS X PowerPC
Michael Franz
mvfranz at gmail.com
Sat Nov 14 21:34:53 PST 2009
Eric,
I have encountered this issue before. I am not sure what I did to fix it.
I think I used ecj instead of the Apple javac. Check the javac perl script
that IcedTea has. The other option is to apply this patch in the required
build files.
http://cr.openjdk.java.net/~andrew/ecj/01/webrev.01/make/build.xml.udiff.html
Here is my initial post on this
http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2009-August/006857.html
If I remember correctly, there is a tool that is compiled by ant (the two in
the output), but it is not compiled with Java 5 byte code. When ant tries
to run the tool you get that error.
I would switch to using ecj, as you might be able to get past this issue,
there is another issue that will come up and ecj acts differently than javac
and you really need the ecj way of doing things. This is my original email
on this:
http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2009-August/006879.html
Michael
On Sat, Nov 14, 2009 at 11:48 PM, Eric Richardson <ekrichardson at gmail.com>wrote:
>
> -def-pcompile:
> [mkdir] Created dir:
> /Users/eric/openjdk/icedtea/openjdk-boot/build/bsd-ppc/langtools/build/toolclasses
> [javac] Compiling 2 source files to
> /Users/eric/openjdk/icedtea/openjdk-boot/build/bsd-ppc/langtools/build/toolclasses
>
> BUILD FAILED
> /Users/eric/openjdk/icedtea/openjdk-boot/langtools/make/build.xml:603:
> java.lang.UnsupportedClassVersionError: Bad version number in .class file
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20091115/cba3409c/attachment.html
More information about the distro-pkg-dev
mailing list