I am trying to use visual studio code for Java.
Installed extensions for Java and installed 1.8 JDKs with an environment variable indicating installation.
When I run the debugger with a simple hello world program, I get the following:
java.lang.UnsupportedClassVersionError: HelloWorld was compiled by a later version of Java Runtime (class file version 53.0), this version of Java Runtime only recognizes class file versions up to 52.0 in java.lang.ClassLoader.defineClass1 (native method) ...... ...... on sun.launcher.LauncherHelper.checkAndLoadMain (LauncherHelper.java:495)
Any help in getting Java debugging in Visual Studio code is appreciated.
source share