Building langtools on MacOS fails with ClassReader.java:911: reference to Version is ambiguous
Jacek Laskowski
jacek at laskowski.net.pl
Thu Dec 9 13:16:59 PST 2010
On Thu, Dec 9, 2010 at 2:30 PM, Maurizio Cimadamore
<maurizio.cimadamore at oracle.com> wrote:
> You might try to use OpenJDK 7 instead and see if that makes any difference
> - it could be that the OpenJDK 7 build for MacOS does not have the
> bootclasspath problem I was talking about, so that you won't be required to
> do any changes at all.
Yay! You're right - J7 did make a difference!
jacek:~/oss/lambda-langtools/make
$ ant -Dboot.java.home=/Library/Java/JavaVirtualMachines/openjdk-1.7-x86_64/Contents/Home
-Dtarget.java.home=/Library/Java/JavaVirtualMachines/openjdk-1.7-x86_64/Contents/Home
build-all-tools
...
build-all-tools:
BUILD SUCCESSFUL
Total time: 30 seconds
Thanks! I have not run any tests with the tools yet and will report
any discrepancies.
Jacek
--
Jacek Laskowski
Notatnik Projektanta Java EE - http://jaceklaskowski.pl
More information about the lambda-dev
mailing list