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
{{ message }}
Repository navigation
Debugger should use project's Java runtime to launch application #753
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
Activity
akaroml commentedon Feb 7, 2020
This requires the debugger to follow the target platform specified in the project. Jinbo Wang (@testforstephen) please help prioritize this.
akaroml commentedon Feb 7, 2020
Related PR eclipse-jdtls/eclipse.jdt.ls#1307