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

Can't run the Jar #76

Open
praveenray opened this issue Sep 7, 2020 · 1 comment
Open

Can't run the Jar #76

praveenray opened this issue Sep 7, 2020 · 1 comment

Comments

@praveenray
Copy link

java -jar JFX-Browser-1.0.0.jar

Error: Could not find or load main class main.java.com.github.jfxbrowser.application.Main
Caused by: java.lang.NoClassDefFoundError: javafx/application/Application

Using Java 11 on Linux.

@pdemanget
Copy link

I know it's an old question, but for java > 9 you have to install openjfx separatly: https://openjfx.io/openjfx-docs/#install-javafx

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

2 participants