快速业务通道

OpenJDK:构建JDK - 编程入门网

作者 佚名技术 来源 NET编程 浏览 发布时间 2012-06-16
dContext.java 时,问题显而易见:文件是空的!我想知道发生了什么。

当我解压或下载原始文件时,也许一些事情中断操作了。我又弄到了一个新的副本,它似乎包含 RemoteThreadContext.java,因此我将其完全复制到它该在的位置,并再次运行 make。这一次,在 make 中止之前,我设法在 Arathi Basin 中完整地玩了一圈:

Timing: 00000 seconds or 0s for make-java-jvm <<<Finished Recursively making jvm all @ Sat Nov 17 23:54:14 CET 2007. >>>Recursively making redist all @ Sat Nov 17 23:54:14 CET 2007 ... make[3]: Entering directory `/home/jars/openjdk/jdk/make/java/redist'' BinaryPlugs import started: Sat Nov 17 23:54:14 CET 2007 BINARY_PLUGS_PATH=/home/jars/plugs make[3]: *** No rule to make target `/home/jars/plugs/jre/lib/i386/libjsoundhs.so'', needed by `/home/jars/openjdk/control/build/linux-i586/lib/i386/libjsoundhs.so''. Stop. make[3]: Leaving directory `/home/jars/openjdk/jdk/make/java/redist'' make[2]: *** [all] Error 1 make[2]: Leaving directory `/home/jars/openjdk/jdk/make/java'' make[1]: *** [all] Error 1 make[1]: Leaving directory `/home/jars/openjdk/jdk/make'' make: *** [jdk-build] Error 2

OpenJDK:构建JDK(8)

时间:2011-07-22

也许是我没有正确安装插件?也许我必须将其 unjar?不。不会是一个恶作剧吧。等一下:它是一个自运行的 JAR:

$ java -jar jdk-7-ea-plug-b23-linux-i586-30_oct_2007.jar Error: Install failed: java.awt.HeadlessException: No X11 DISPLAY variable was set, but this program performed an operation which requires it. java.awt.HeadlessException: No X11 DISPLAY variable was set, but this program performed an operation which requires it.   at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:159) ...

嗯,我猜我不能在控制台中运行它。我必须把椅子转向笔记本,在它上面运行。

TODO:让二进制插件安装程序能够无头运行。

好了。现在我在 /home/jars/plugs/openjdk-binary-plugs 中找到了未压缩的二进制插件。我需要更新环境变量以再次匹配 make:

$ export ALT_BINARY_PLUGS_PATH=/home/jars/openjdk-binary-plugs $ make

Make 再次运行,但不久在另一个位置中止了:

In file included from /home/jars/openjdk/jdk/src/share/native/sun/awt/../java2d/pipe/Region.h:34,   from /home/jars/openjdk/jdk/src/share/native/sun/awt/../java2d/pipe/Region.c:30: /home/jars/openjdk/jdk/src/solaris/native/sun/awt/utility/rect.h:31:22: error: X11/Xlib.h: No such file or directory In file included from ... /home/jars/openjdk/jdk/src/solaris/native/sun/awt/img_util_md.h:32:   error: expected specifier-qualifier-list before ''XID'' /home/jars/openjdk/jdk/src/share/native/sun/awt/image/BufImgSurfaceData.c:   In function ''Java_sun_awt_image_BufImgSurfaceData_freeNativeICMData'': /home/jars/openjdk/jdk/src/share/native/sun/awt/image/BufImgSurfaceData.c:95:   warning: cast to pointer from integer of different size make[4]: *** [/home/jars/openjdk/control/build/linux-i586/tmp/sun/sun.awt/awt/obj/BufImgSurfaceData.o] Error 1 make[4]: Leaving directory `/home/jars/openjdk/jdk/make/sun/awt'' make[3]: *** [library_parallel_compile] Error 2 make[3]: Leaving directory `

凌众科技专业提供服务器租用、服务器托管、企业邮局、虚拟主机等服务,公司网站:http://www.lingzhong.cn 为了给广大客户了解更多的技术信息,本技术文章收集来源于网络,凌众科技尊重文章作者的版权,如果有涉及你的版权有必要删除你的文章,请和我们联系。以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢!

分享到: 更多

Copyright ©1999-2011 厦门凌众科技有限公司 厦门优通互联科技开发有限公司 All rights reserved

地址(ADD):厦门软件园二期望海路63号701E(东南融通旁) 邮编(ZIP):361008

电话:0592-5908028 传真:0592-5908039 咨询信箱:web@lingzhong.cn 咨询OICQ:173723134

《中华人民共和国增值电信业务经营许可证》闽B2-20100024  ICP备案:闽ICP备05037997号