You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
create a Maven project targeting Java 11 (set <maven.compiler.source> and <maven.compiler.target> to 11)
run a main class
Current Result
Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.UnsupportedClassVersionError: org/acme/GreetingResource has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
Expected Result
Program should run using the JDK version set for the given project, without any errors
The text was updated successfully, but these errors were encountered:
Debugger uses the java.home version used to start jdt.ls, instead of the project's target JDK.
Environment
Steps To Reproduce
<maven.compiler.source>
and<maven.compiler.target>
to 11)Current Result
Expected Result
Program should run using the JDK version set for the given project, without any errors
The text was updated successfully, but these errors were encountered: