OpenJDK 8 build fails on Ubuntu 12.04.5 LTS

matchew mkorszun at gmail.com
Thu Jan 29 15:47:21 UTC 2015


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.

*Tools summary:*

** Boot JDK:*
java version "1.7.0_65" OpenJDK Runtime Environment (IcedTea 2.5.3)
(7u71-2.5.3-0ubuntu0.12.04.1) OpenJDK 64-Bit Server VM (build 24.65-b04,
mixed mode)  (at /usr/lib/jvm/java-7-openjdk-amd64)

** C Compiler:*
gcc-4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5) version 4.6.3 (at /usr/bin/gcc-4.6)

** C++ Compiler:*
g++-4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5) version 4.6.3 (at /usr/bin/g++-4.6)

*System:*
Linux lxc-dev-19 3.2.0-63-virtual #95-Ubuntu SMP Thu May 15 23:24:31 UTC
2014 x86_64 x86_64 x86_64 GNU/Linux

Thanks in Advance
--
Mateusz



More information about the build-dev mailing list