源码下载
https://pan.baidu.com/s/1skVhHlN- 安装xcode command line tools
xcode-select --install
- 安装freetype,执行
brew install freetype
- 安装jdk9
- 在jdk10目录下配置编译
bash configure --with-jvm-variants=server --with-target-bits=64 --enable-debug --disable-warnings-as-errors --with-boot-jdk=/Library/Java/JavaVirtualMachines/jdk-9.0.4.jdk/Contents/Home
- 构建
make