码迷,mamicode.com
首页 > 其他好文 > 详细

Build OpenJdk

时间:2018-10-10 14:35:28      阅读:160      评论:0      收藏:0      [点我收藏+]

标签:order   open   pen   java.net   nuget   tools   ror   dir   下载   

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

标签:order   open   pen   java.net   nuget   tools   ror   dir   下载   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!