OpenJDK 8 build fails on Ubuntu 12.04.5 LTS
Magnus Ihse Bursie
magnus.ihse.bursie at oracle.com
Thu Jan 29 21:02:52 UTC 2015
On 2015-01-29 16:47, matchew wrote:
> When it comes to JDK compilation (i am executing *make all*) I am getting
> this error:
>
> ## Starting jdk
> Compiling 162 files for BUILD_TOOLS
> /bin/sh: 1:
> -Xbootclasspath/p:/opt/openjdk/8/build/linux-x86_64-normal-server-release/langtools/dist/bootstrap/lib/javac.jar:
> not found
> make[2]: ***
> [/opt/openjdk/8/build/linux-x86_64-normal-server-release/jdk/btclasses/_the.BUILD_TOOLS_batch]
> Error 127
> make[1]: *** [gensrc-only] Error 2
> make: *** [jdk-only] Error 2
>
> Which is strange because file
> /opt/openjdk/8/build/linux-x86_64-normal-server-release/langtools/dist/bootstrap/lib/javac.jar
> exists.
The command line was supposed to look something like this
/usr/bin/java
-Xbootclasspath/p:/opt/openjdk/8/build/linux-x86_64-normal-server-release/langtools/dist/bootstrap/lib/javac.jar
...
but the executable java is missing. Thus the shell tries to execute
-Xbootclasspath... but that is not a valid executable.
Most likely, your spec.gmk is broken somehow, and $(JAVA) expands to
nothing.
Did you get any error messages when running configure?
/Magnus
More information about the build-dev
mailing list