问题遇到的现象和发生背景
vscode无法运行java项目,
报错:A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.UnsupportedClassVersionError: hello 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 52.0
我的解答思路和尝试过的方法
根据查到的配置了jdk1.8,还是报错,请各位帮忙看看