This issue is blocker because has an impact to all users and also blocks `QUARKUS-728`
When you create an application with JDK17 and then try to deploy to Openshift by non-s2i, the app is failing with the following error:
Caused by: java.lang.UnsupportedClassVersionError: org/acme/rest/GreetingResource has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0Caused by: java.lang.UnsupportedClassVersionError: org/acme/rest/GreetingResource has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0 at java.base/java.lang.ClassLoader.defineClass1(Native Method) at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1017) at io.quarkus.bootstrap.runner.RunnerClassLoader.loadClass(RunnerClassLoader.java:96) at io.quarkus.bootstrap.runner.RunnerClassLoader.loadClass(RunnerClassLoader.java:56) at java.base/java.lang.Class.forName0(Native Method) at java.base/java.lang.Class.forName(Class.java:398) at org.acme.rest.GreetingResource_Bean.<init>(GreetingResource_Bean.zig:48) at io.quarkus.arc.setup.Default_ComponentsProvider.addBeans1(Default_ComponentsProvider.zig:235) at io.quarkus.arc.setup.Default_ComponentsProvider.getComponents(Default_ComponentsProvider.zig:38) at io.quarkus.arc.impl.ArcContainerImpl.<init>(ArcContainerImpl.java:116) at io.quarkus.arc.Arc.initialize(Arc.java:20) ... 19 more
Seems that the app is compiled with JDK17 but the docker image using JDK11
- blocks
-
QUARKUS-728 Add support for OpenJDK 17
- Closed
-
QUARKUS-1472 Java version support in tooling
- Closed
- is blocked by
-
QUARKUS-1383 Quarkus Maven plugin fails to generate JDK17 based project
- Closed
- is related to
-
QUARKUS-1475 Openshift Non-s2i deployment with JDK17 Doc
- Closed
- relates to
-
QUARKUS-1808 Document support for java 17 in generated projects - Codestarts
- Closed