Mac下OpenJdk源码环境搭建

匿名 (未验证) 提交于 2019-12-02 23:41:02
版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/hjtlovelife/article/details/91456761

1、Mac安装Mercurial

2、下载openjdk

(1) ideal

(2) hg clone

hg clone http://hg.openjdk.java.net/jdk10/master

3、安装freetype ccache编译时使用

brew install freetype ccache

4、、配置编译参数

参考:在Mac上编译OpenJDK10源码









$ bash configure --with-debug-level=slowdebug --enable-dtrace --with-jvm-variants=server --with-target-bits=64 --enable-ccache --with-num-cores=8 --with-memory-size=8000 --disable-warnings-as-errors --with-freetype=/usr/local/Cellar/freetype/2.10.0

文章来源: https://blog.csdn.net/hjtlovelife/article/details/91456761
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!