下载github源码
https://github.com/elastic/elasticsearch.git
解压源码文件
E:\workspace\idea\demo\elasticsearch-6.2.4
1)elasticsearch-6.2.4\CONTRIBUTING.md 源码编译说明
JDK 9 is required to build Elasticsearch.
intelliJ, the minimum version that we support is IntelliJ 2017.2
intelliJ users can automatically configure their IDE: ./gradlew idea2)elasticsearch-6.2.4\gradle\wrapper\gradle-wrapper.properties
gradle-4.5
构建环境
Win7
Gradle4.5
Jdk9
IntelliJ 2017.2
安装jdk9
https://www.oracle.com/technetwork/java/javase/archive-139210.html
下载gradle
https://downloads.gradle-dn.com/distributions/gradle-4.5-all.zip
gradle环