-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Application will not launch in OpenJDK (but not Oracle JDK) #11
Comments
Please use Java 8. It will not run on anything higher. |
Sorry to reopen this rather stupid question -but I cant get this to work... I decompiled your release 1.6 and it looks fine.. the Main class is correctly specified idk why this happens |
Sorry but I cannot reproduce your issue. My Java version:
|
I have the same problem on Manjaro
Other java applications (minecraft, lavalink) work just fine. |
However, using the java JRE 1.8 by oracle (not the OpenJDK version) works. Those aren't available in linux repos as they're proprietary though (and snap install doesn't work). |
Ah so this must have been Oracles fault (or maybe the team in OpenJDK). |
It turns out that OpenJDK 8 does not include JavaFX (The graphical frontend) in its dependency (and all later versions of OpenJDK as well) On Linux, this can be solved by installing |
When I try to start the application with ´java -jar 'Lazer_exporter.jar'´ i get the error:
Error: Could not find or load main class com.ringosham.Main Caused by: java.lang.NoClassDefFoundError: javafx/application/Application
I tried putting the .jar in the main directory (git cloned that), putting it into src/ and all src/* directories..
Sorry for the inconvenience but I dont know how to use that jar
The text was updated successfully, but these errors were encountered: