-
Notifications
You must be signed in to change notification settings - Fork 37
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
Could not find or load main class pattypan.Main in Ubuntu 20.04 #121
Comments
Same here, also with OpenJDK 8:
|
Duplicate of #84. |
according to #84 (comment)
|
same as above (Ubuntu 20.04)
and for
|
@LibrErli Could you try #84 (comment) by @Lod3 : apt purge openjfx
apt install openjfx=8u161-b12-1ubuntu2 libopenjfx-jni=8u161-b12-1ubuntu2 libopenjfx-java=8u161-b12-1ubuntu2
apt-mark hold openjfx libopenjfx-jni libopenjfx-java
/usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java -jar pattypan.jar |
Pattypan 22.02 does no longer need a separate OpenJFX installation nor does it depend on Java <11. |
$ java -jar pattypan.jar
Error: Could not find or load main class pattypan.Main
Caused by: java.lang.NoClassDefFoundError: javafx/application/Application
$ java -version
openjdk version "11.0.10" 2021-01-19
OpenJDK Runtime Environment (build 11.0.10+9-Ubuntu-0ubuntu1.20.04)
OpenJDK 64-Bit Server VM (build 11.0.10+9-Ubuntu-0ubuntu1.20.04, mixed mode)
The text was updated successfully, but these errors were encountered: