-
Notifications
You must be signed in to change notification settings - Fork 375
Closed
Description
It looks like 4.0 requires Java 23. I think this is a mistake. Java 23 is a non-LTS version. LTS (long term support) versions are 8, 11, 17, and 21. Even Gradle only requires Java 8.
This is what I get trying to run with Java 21:
c:\Programs\restclient-ui-4.0.1>bin\restclient-ui
Error: LinkageError occurred while loading main class org.wiztools.restclient.ui.Main
java.lang.UnsupportedClassVersionError: org/wiztools/restclient/ui/Main has been compiled by a more recent version of the Java Runtime (class file version 67.0), this version of the Java Runtime only recognizes class file versions up to 65.0
IMO, I don't think Java apps should require the latest version of Java to run -- it should ask for the minimum version of Java that has the features the app needs. (If the code compiles with a lower version, that most likely means it can run with that version.)
I am guessing this project could probably get away with Java 10 or 11 minimum. I see a change to use method https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/java/awt/Toolkit.html#getMenuShortcutKeyMaskEx() that was introduced in Java 10.
subwiz
Metadata
Metadata
Assignees
Labels
No labels