准备工作环境下载源码 准备工作 环境 系统版本:macOS 10.12.2 下载源码 安装hg工具 brew install hg下载openjdk源码 hg clone http://hg.openjdk.java.net/jdk8/jdk8 openjdk8安装command line tools工具 xcode-select --install