• Register
0 votes
372 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

6 5 3
6,930 points

Please log in or register to answer this question.

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

9 7 4
38,600 points

Related questions

0 votes
1 answer 2 views
2 views
Problem: How to solve : compiled by a more recent version of the java runtime HELP! I need help understanding this : compiled by a more recent version of the java runtime Can someone please help fix this, I am new in java. Anyone have ideas on what I need to do to understand this? Thanks!
asked 5 days ago Ali 7.2k points
0 votes
1 answer 10 views
10 views
Problem: How to solve : tomcat version 7.0 only supports j2ee 1.2, 1.3, 1.4, and java ee 5 and 6 web modules HELP! I need help understanding this : tomcat version 7.0 only supports j2ee 1.2, 1.3, 1.4, and java ee 5 and 6 web modules Can someone please help fix this, I am new in java. Anyone have ideas on what I need to do to understand this? Thanks!
asked 5 days ago Ali 7.2k points
0 votes
1 answer 4 views
4 views
Problem: I got this error and im not able to make it work, the error is > unable to find a version of the runtime to run this application
asked Feb 24 Azlan2020 720 points
0 votes
1 answer 63 views
63 views
Problem: this application requires a java runtime environment 1.8.0
asked Feb 19 Dan phillip 2.4k points
0 votes
1 answer 11 views
11 views
Problem : Cannot read property 'thisCompilation' of undefined in Visual Code
asked Feb 24 Shovo210 5.2k points
0 votes
1 answer 9 views
9 views
Solve this question.
asked Feb 12 TeamScript 13.5k points
0 votes
1 answer 18 views
18 views
Therefore, I have to conclude something else, internal to a class itself, is throwing the exception?? Is that even possible?
asked Jan 4 TeamScript 13.5k points
1 vote
1 answer 20 views
20 views
Problem: I Created a Loan.java and compile it with JDK 1.6 and Run Loan.class with JRE 1.5. C:\Program Files\Java\jre1.5.0_06\bin>java -version java version "1.5.0_06" The following thing gives an error message: C:\Program Files\Java ... Source)         at java.net.URLClassLoader.defineClass(Unknown Source)         at java.net.URLClassLoader.access$100(Unknown Source) what should i do next ..
asked Mar 27, 2020 LizzyM 6.1k points
2 votes
1 answer 22 views
22 views
Problem: I Create Loan.java and compile it with JDK 1.6 and Run Loan.class with JRE 1.5. C:\Program Files\Java\jre1.5.0_06\bin>java -version java version "1.5.0_06" its shows error like bellow C:\Program Files\Java\jre1.5.0_06\bin ... Unknown Source)         at java.net.URLClassLoader.defineClass(Unknown Source)         at java.net.URLClassLoader.access$100(Unknown Source) what should i do next ..
asked Mar 24, 2020 LizzyM 6.1k points