ImSejin / lezhin-comics-downloader

📥 Downloader for lezhin comics
https://www.lezhin.com
Apache License 2.0
56 stars 4 forks source link

Unsupported Java Class Version #212

Closed Sneox20 closed 11 months ago

Sneox20 commented 11 months ago

Hello, I'd like some help about this please. I'm on Windows 10.

Exception in thread "main" java.lang.UnsupportedClassVersionError: io/github/imsejin/dl/lezhin/Application 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 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$100(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.launcher.LauncherHelper.checkAndLoadMain(Unknown Source)

I have uninstalled my java (jre8) and re-installed it from https://www.java.com/en/download/ The issue is still here. I also installed JDK-11 but it doesn't do anything to resolve this error.

Where exactly can I find this most recent 'Java Runtime' to run your java file?

Sneox20 commented 11 months ago

I successfully downloaded jre-10.0.2 but the error is still similar to the last one. My Java Runtime can now read up to 54.0 but not one more. I've also read that Oracle stopped distributing JRE and only gives JDK. From what I read on https://stackoverflow.com/questions/53733312/where-is-jre-11 we are to create our own JRE?!

Error: LinkageError occurred while loading main class io.github.imsejin.dl.lezhin.Application java.lang.UnsupportedClassVersionError: io/github/imsejin/dl/lezhin/Application 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 54.0

ImSejin commented 11 months ago

The downloader requires JRE 11 or higher. Download it at here.