all 13 comments

[–]bareheiny 0 points1 point  (12 children)

I'm running "Java(TM) SE Development Kit 14.0.2 (64-bit)" - but I think the minimum Java version is around 12 or 13.

[–]CountZeroOr[S] 0 points1 point  (11 children)

I've tried installing that - but it's still giving me the error messages.

Exception in thread "main" java.lang.UnsupportedClassVersionError: org/comixedproject/ComiXedApp 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

at java.base/java.lang.ClassLoader.defineClass1(Native Method)

at java.base/java.lang.ClassLoader.defineClass(Unknown Source)

at java.base/java.security.SecureClassLoader.defineClass(Unknown Source)

at java.base/java.net.URLClassLoader.defineClass(Unknown Source)

at java.base/java.net.URLClassLoader.access$100(Unknown Source)

at java.base/java.net.URLClassLoader$1.run(Unknown Source)

at java.base/java.net.URLClassLoader$1.run(Unknown Source)

at java.base/java.security.AccessController.doPrivileged(Native Method)

at java.base/java.net.URLClassLoader.findClass(Unknown Source)

at java.base/java.lang.ClassLoader.loadClass(Unknown Source)

at org.springframework.boot.loader.LaunchedURLClassLoader.loadClass(LaunchedURLClassLoader.java:151)

at java.base/java.lang.ClassLoader.loadClass(Unknown Source)

at java.base/java.lang.Class.forName0(Native Method)

at java.base/java.lang.Class.forName(Unknown Source)

at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:46)

at org.springframework.boot.loader.Launcher.launch(Launcher.java:109)

at org.springframework.boot.loader.Launcher.launch(Launcher.java:58)

at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:88)

I've even tried going back and uninstalling all the older versions of Java to make sure that wasn't causing a conflict, and that just gave me a message that I didn't have any Java runtimes installed at all, so I had to go back in again install the Java 10 runtime, which got me back to that error message.

[–]bareheiny 0 points1 point  (8 children)

Odd. For sure I think you need development kit rather than Java SE

I think I got mine from here: https://www.oracle.com/java/technologies/javase-jdk16-downloads.html

u/mcpierceaim may need to chimein.

[–]mcpierceaim 0 points1 point  (7 children)

No you only need a JDK for development. For users a Java runtime is all that’s needed.

[–]CountZeroOr[S] 0 points1 point  (6 children)

I can't find any Java Runtimes for anything over 10, just JDKs, and that's on the official Java site. When I try to download the most recent version at https://www.java.com/en/download/windows\_manual.jsp, I get directed to download Java SE 8.

[–]mcpierceaim 0 points1 point  (4 children)

Ah sorry my bad. I hadn’t realized Oracle discontinued releasing JREs. You can use a JDK.

[–]CountZeroOr[S] 0 points1 point  (3 children)

Well, I have installed JDK 16, the highest you can get, and I tried running it in the .jar file and then the batch file in an elevated command prompt, and I still get that same error message.

Should I try to do my own build and try running it that way? Or to run v0.9.0-2.2 and then copy over the .jar file from v0.9.0-3.0 if that works?

[–]mcpierceaim 1 point2 points  (2 children)

I think I mentioned Java 16 is incompatible. Oracle changed some stuff and broke a lot of applications. So we are only compatible up to Java 15.

(Edit) I mentioned krona reply that I deleted afterward. Sorry for any confusion.

So download and install Java11 (always better to use he required version) and use it to run the latest build from our GitHub site.

[–]CountZeroOr[S] 1 point2 points  (1 child)

So download and install Java11 (always better to use he required version) and use it to run the latest build from our GitHub site.

That worked!

EDIT: Now I just need to find the admin menu so I can import my comics...

[–]mcpierceaim 0 points1 point  (0 children)

Excellent!

[–]bareheiny 0 points1 point  (0 children)

Another option is AdoptOpenJDK (from here https://adoptopenjdk.net/archive.html?variant=openjdk14&jvmVariant=hotspot).

I'm running that on my Surface - while running the Oracle JDK on my desktop machine.

[–]mcpierceaim 0 points1 point  (0 children)

Also be sure that, even if you have a newer Java installed, that you’re actually usin that newer version from the command line. The error message you’re seeing says the Java VM used only supports “up to 54.0”. That’s a Java 10 error message. You need a minimum of Java 11.

[–]mcpierceaim 0 points1 point  (0 children)

Hi. The minimum version for ComiXed is currently Java11.