mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-06-28 17:34:17 -04:00
The java version checker tests whether the current jdk is a sufficient version to run Elasticsearch. Since it is compatible with java 7, it must parse Java's version sysprop. This commit reworks the checker to no longer need to parse the version. Instead, it uses a multi-release-jar, so that there are two versions of the main class. The Java 7 compatible version simply exits with an error message. The Java 17 version simple exits with no error. relates #85758 |
||
---|---|---|
.. | ||
src | ||
build.gradle |