I built a jar file from my Java code in IntelliJ, but when I want to run the JARfile as below:
java -jar /PATH/class.jar
I recieve this error:
Error: LinkageError occurred while loading main class Mesh java.lang.UnsupportedClassVersionError: Mesh has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 60.0
How can I fix it?