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

Which is the Java 17 supported version ? #909

Open
Shalaka1197 opened this issue Dec 12, 2023 · 4 comments
Open

Which is the Java 17 supported version ? #909

Shalaka1197 opened this issue Dec 12, 2023 · 4 comments

Comments

@Shalaka1197
Copy link

Which is the Java 17 supported version ?

@fstab
Copy link
Member

fstab commented Dec 12, 2023

  • All versions of client_java can be used with Java 17.
  • If you want to compile client_java from source, you need 1.0.0 or higher, because previous versions were backwards compatible with Java 6 and Java 17 does not have Java 6 support.

@dhoard
Copy link
Collaborator

dhoard commented Dec 12, 2023

To add to @fstab's answer, the next Prometheus JMX Exporter, which will use client_java 1.0.x has been indirectly tested on....

alibabadragonwell/dragonwell:17
amazoncorretto:17
antublue/openlogic-openjdk:17
azul/zulu-openjdk:17
bellsoft/liberica-openjdk-debian:17
bitnami/java:17
eclipse-temurin:17
eclipse-temurin:17-alpine
ghcr.io/graalvm/jdk:java17
ibm-semeru-runtimes:open-17-jdk-focal
konajdk/konajdk:17-tlinux
mcr.microsoft.com/openjdk/jdk:17-mariner
mcr.microsoft.com/openjdk/jdk:17-mariner-cm1
mcr.microsoft.com/openjdk/jdk:17-ubuntu
openjdk:17
registry.access.redhat.com/ubi8/openjdk-17-runtime:latest
sapmachine:17

@Shalaka1197
Copy link
Author

Shalaka1197 commented Dec 14, 2023

I am using below version and project is running on java 17. please let me know still I need to upgrade it ? and Prometheus application also needs to upgraded ?

<dependency>
           <groupId>io.prometheus</groupId>
           <artifactId>simpleclient</artifactId>
           <version>0.6.0</version>
       </dependency>

@fstab @dhoard

@fstab
Copy link
Member

fstab commented Dec 14, 2023

No need to upgrade, simpleclient works for all Java versions >= 6, including Java 17 and newer.

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

3 participants