Skip to content
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 crash on startup on Linux (Manjaro) incl. Fix #342

Open
Alkl58 opened this issue Nov 5, 2020 · 0 comments
Open

Application crash on startup on Linux (Manjaro) incl. Fix #342

Alkl58 opened this issue Nov 5, 2020 · 0 comments

Comments

@Alkl58
Copy link

Alkl58 commented Nov 5, 2020

I noticed the bug a long time ago and thus stayed on version v0.2.18-alpha

The bug is:
Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: javafx/embed/swing/JFXPanel
which is due to JAVA changes after version 8.

After some trial and error I found following workarount to get the latest version running:

java --module-path /usr/lib/jvm/java-11-openjdk/lib/javafx.base.jar:/usr/lib/jvm/java-11-openjdk/lib/javafx.controls.jar:/usr/lib/jvm/java-11-openjdk/lib/javafx.fxml.jar:/usr/lib/jvm/java-11-openjdk/lib/javafx.graphics.jar:/usr/lib/jvm/java-11-openjdk/lib/javafx.media.jar:/usr/lib/jvm/java-11-openjdk/lib/javafx.swing.jar:/usr/lib/jvm/java-11-openjdk/lib/javafx.web.jar:/usr/lib/jvm/java-11-openjdk/lib/javafx-swt.jar --add-modules ALL-MODULE-PATH -jar  JAVMovieScraper-v0.3.7.jar

I don't really know if this is worth fixing, or is worth writing somewhere for others to find.

Many Greetings and thank you for making this awesome application! :)

Edit:

I reduced the command line arg to:

java --module-path /usr/lib/jvm/java-11-openjdk/lib/javafx.base.jar:/usr/lib/jvm/java-11-openjdk/lib/javafx.graphics.jar:/usr/lib/jvm/java-11-openjdk/lib/javafx.swing.jar --add-modules ALL-MODULE-PATH -jar  JAVMovieScraper-v0.3.7.jar

needs testing tho.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant