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
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.