Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

prometheus-exporter requires Java 16 Error #337

Open
alexblue46 opened this issue Feb 2, 2022 · 5 comments
Open

prometheus-exporter requires Java 16 Error #337

alexblue46 opened this issue Feb 2, 2022 · 5 comments

Comments

@alexblue46
Copy link

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?

@ilunie
Copy link

ilunie commented Feb 4, 2022

+1 just realized I'm using version 8 of java

@ilunie
Copy link

ilunie commented Feb 18, 2022

I fix the issue by changing the java_home before running the installation

@alexblue46
Copy link
Author

@ilunie Were you able to install it with Java 8 or 11?

@adambro
Copy link

adambro commented Feb 24, 2022

@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.

@mindw
Copy link

mindw commented Mar 30, 2022

ES 8.x.x requires JVM 17 - elastic/elasticsearch#79873 . The CI builds it with 16 - to build with something else one needs to build it locally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants