How to resolve Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0 error?

 I face some errors. when I build 

Exception in thread "main" java. lang.UnsupportedClassVersionError: myProject has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0.




solution: This is an error from the java version.  just change the java SDK version from your project.

from Eclips

        from IntelliJ:

Thank .



Post a Comment

Thank you

Previous Post Next Post