• Register
0 votes

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


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:


by (36.1k points)  
edited by