First and foremost I'm kinda new, so I might be missing something very basic.
I'm trying to compile elasticsearch from source from master branch (060b3aadd60116e6055e3fc35f472687719b7658). I've installed openjdk15 on a new fedora server and tried to run ./gradlew localDistro as specified on github. Here is the result:
[kazimazi@localhost elasticsearch]$ ./gradlew localDistro
=======================================
Elasticsearch Build Hamster says Hello!
Gradle Version : 6.8.3
OS Info : Linux 5.8.15-301.fc33.x86_64 (amd64)
JDK Version : 15 (Red Hat, Inc.)
JAVA_HOME : /usr/lib/jvm/java-15-openjdk-15.0.2.0.7-0.rolling.fc33.x86_64
Random Testing Seed : D18F336560027599
In FIPS 140 mode : false
=======================================
> Task :libs:elasticsearch-plugin-classloader:compileJava FAILED
> Task :libs:elasticsearch-secure-sm:compileJava FAILED
> Task :libs:elasticsearch-geo:compileJava FAILED
> Task :libs:elasticsearch-grok:compileJava FAILED
error: error reading /home/kazimazi/.gradle/caches/modules-2/files-2.1/org.jruby.jcodings/jcodings/1.0.44/a6884b2fd8fd9a56874db05afaa22435043a2e3e/jcodings-1.0.44.jar; zip file is empty
> Task :libs:elasticsearch-dissect:compileJava FAILED
> Task :libs:elasticsearch-core:compileJava FAILED
> Task :client:rest:compileJava FAILED
FAILURE: Build completed with 7 failures.
1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':libs:elasticsearch-plugin-classloader:compileJava'.
> error: release version 11 not supported
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
==============================================================================
2: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':libs:elasticsearch-geo:compileJava'.
> error: release version 11 not supported
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
==============================================================================
3: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':libs:elasticsearch-dissect:compileJava'.
> error: release version 11 not supported
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
==============================================================================
4: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':libs:elasticsearch-grok:compileJava'.
> error: release version 11 not supported
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
==============================================================================
5: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':libs:elasticsearch-secure-sm:compileJava'.
> error: release version 11 not supported
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
==============================================================================
6: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':libs:elasticsearch-core:compileJava'.
> error: release version 11 not supported
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
==============================================================================
7: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':client:rest:compileJava'.
> error: release version 8 not supported
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
==============================================================================
* Get more help at https://help.gradle.org
BUILD FAILED in 4s
27 actionable tasks: 7 executed, 20 up-to-date
Could someone point me to the right direction? Thank you in advance:)