按照构建说明构建openjdk-8u失败

时间:2019-01-14 06:39:20

标签: java build

我克隆了openjdk8u的源代码,成功执行sh ./configure --with-boot-jdk=/usr/lib/jvm/jdk1.7.0_80,然后无法构建JDK,错误是什么意思?

我已经在线搜索了该问题的解决方案,但没有找到,希望您能为我提供帮助。

## Starting jdk
Compiling 9478 files for BUILD_JDK
/bin/sh: line 1: 24148 Killed                  /usr/lib/jvm/jdk1.7.0_80/bin/java -Xms64M -Xmx1600M -XX:ThreadStackSize=1536 -XX:PermSize=32m -XX:MaxPermSize=160m "-Xbootclasspath/p:/root/repositories/net/openjdk/openjdk8u/build/linux-x86_64-normal-server-release/langtools/dist/bootstrap/lib/javac.jar" -cp /root/repositories/net/openjdk/openjdk8u/build/linux-x86_64-normal-server-release/langtools/dist/bootstrap/lib/javac.jar com.sun.tools.javac.Main -bootclasspath /root/repositories/net/openjdk/openjdk8u/build/linux-x86_64-normal-server-release/jdk/classes -source 8 -target 8 -encoding ascii -XDignore.symbol.file=true -Xlint:-unchecked,-deprecation,-overrides,auxiliaryclass,classfile,dep-ann,divzero,empty,try,varargs -Werror -implicit:none -sourcepath "/root/repositories/net/openjdk/openjdk8u/jdk/src/share/classes:/root/repositories/net/openjdk/openjdk8u/jdk/src/solaris/classes:/root/repositories/net/openjdk/openjdk8u/build/linux-x86_64-normal-server-release/jdk/gensrc:/root/repositories/net/openjdk/openjdk8u/build/linux-x86_64-normal-server-release/jdk/gensrc_no_srczip" -d /root/repositories/net/openjdk/openjdk8u/build/linux-x86_64-normal-server-release/jdk/classes -h /root/repositories/net/openjdk/openjdk8u/build/linux-x86_64-normal-server-release/jdk/gensrc_headers.BUILD_JDK.tmp @/root/repositories/net/openjdk/openjdk8u/build/linux-x86_64-normal-server-release/jdk/classes/_the.BUILD_JDK_batch.tmp
gmake[2]: *** [/root/repositories/net/openjdk/openjdk8u/build/linux-x86_64-normal-server-release/jdk/classes/_the.BUILD_JDK_batch] Error 137
gmake[1]: *** [classes-only] Error 2
make: *** [jdk-only] Error 2

0 个答案:

没有答案