elasticsearch-prometheus-exporter
elasticsearch-prometheus-exporter copied to clipboard
prometheus-exporter requires Java 16 Error
When installing elasticsearch-prometheus-exporter version 7.16.3.0, I get this error: java.lang.IllegalStateException: prometheus-exporter requires Java 16:, your system: 8
. Is it possible that this prometheus exporter may be made available for use with either Java 8 or 11?
+1 just realized I'm using version 8 of java
I fix the issue by changing the java_home before running the installation
@ILunie Were you able to install it with Java 8 or 11?
@alexblue46 we've used the Java 16 embedded in ES7 install. That's what @ILunie means by changing JAVA_HOME
value, to point at the JVM shipped with ES7.
ES 8.x.x requires JVM 17 - https://github.com/elastic/elasticsearch/pull/79873 . The CI builds it with 16 - to build with something else one needs to build it locally.