OpenSearch/distribution
Jason Tedor c9cde11a5e Introduce Java version checker
Today when users start Elasticsearch with their Java configuration
pointing to a pre-Java 8 install, they encounter a cryptic message:

    Exception in thread "main" java.lang.UnsupportedClassVersionError:
    org/elasticsearch/bootstrap/Elasticsearch : Unsupported major.minor
    version 52.0

They often think that they have Java 8 installed but if their JAVA_HOME
or other configuration is causing them to start with a pre-Java 8
install, this error message does not help them.

We introduce a Java version checker that runs on Java 6 as part of the
startup scripts. If the Java version is pre-Java 8, we can display a
helpful error message to the user informing them of the Java version
that the runtime was started with. Otherwise, Elasticsearch starts as it
does today.
2017-02-16 09:06:49 -05:00
..
deb Remove much ceremony from parsing client yaml test suites (#22311) 2016-12-22 11:00:34 -05:00
integ-test-zip Optionally require a valid content type for all rest requests with content (#22691) 2017-02-02 14:07:13 -05:00
rpm Remove much ceremony from parsing client yaml test suites (#22311) 2016-12-22 11:00:34 -05:00
src/main Introduce Java version checker 2017-02-16 09:06:49 -05:00
tar Remove much ceremony from parsing client yaml test suites (#22311) 2016-12-22 11:00:34 -05:00
tools/java-version-checker Introduce Java version checker 2017-02-16 09:06:49 -05:00
zip Remove much ceremony from parsing client yaml test suites (#22311) 2016-12-22 11:00:34 -05:00
build.gradle Add version checker tool to distributions 2017-02-16 09:06:49 -05:00