• Register
0 votes
116 views

Problem :

I am getting bellow error while I'm trying to use visual studio code for Java.

this version of the java runtime only recognizes class file versions up to 52.0

by (6.9k points)  

1 Answer

0 votes

Solution:

You must be compiling with java 9, but still using JDK 8.0

You need to Install java 9 and also change your OS environment settings to point to the new JDK. 

This is working fine for me.

Further Readings:

https://github.com/yPedx/SpigotBoard/issues/16

by (36.1k points)  
edited by
...