Error: - Unsupported major.minor version 52.0 Error in Java
Issue: - This kind of issue comes when you have compiled the
code using "Java 1.8" and trying to run it on lower version of JRE
e.g. 1.7, 1.6
Troubleshoot: -
- Check the Java version: - Go to command prompt and type echo %JAVA_HOME%
- Update “JAVA_HOME” path to “Java 1.8”
- In case if you are working on eclipse than first check the “Project -->Properties-->Java Build Path -->Library”. It should have jdk1.8 included in the library
No comments:
Post a Comment