首页 > 其他 > 详细

Build OpenJdk

时间:2018-10-10 13:13:09      阅读:169      评论:0      收藏:0      [点我收藏+]

1  ,下载源代码  nuget

2,说明文档

http://hg.openjdk.java.net/jdk8/jdk8/raw-file/tip/README-builds.html

2,安装 Cygwin

 http://www.cygwin.com/

输入源 :

 http://mirrors.163.com/cygwin/https://mirrors.163.com/.help/cygwin.html


3, 转换文件格式

find common/autoconf/ -name "*" | xargs dos2unix


bash ./configure --enable-debug --with-target-bits=64  --with-freetype=/cygdrive/c/freetype-2.9.1  --with-tools-dir="/cygdrive/C/Program Files (x86)/Microsoft Visual Studio 10.0/VC/bin"

bash ./configure --enable-debug --with-target-bits=64  --with-freetype=/cygdrive/c/freetype-2.9.1





完成

技术分享图片


常见错误

1,

Vi 下显示

^M

VS 看到的

技术分享图片


2,VS 2010用英文的  ,用中文的有些问题,没深究,换也英文的




参考:

http://www.cnblogs.com/lighten/p/5906359.html


https://my.oschina.net/langxSpirit/blog/1624428

Build OpenJdk

原文:https://www.cnblogs.com/zbw911/p/9765369.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!