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

Problem with AdoptOpenJDK on Windows #2

Open
Wolvverine opened this issue Aug 1, 2019 · 1 comment
Open

Problem with AdoptOpenJDK on Windows #2

Wolvverine opened this issue Aug 1, 2019 · 1 comment

Comments

@Wolvverine
Copy link

λ vihoma.bat
Error: Could not find or load main class application.Main
Caused by: java.lang.NoClassDefFoundError: javafx/application/Application
Error: Could not find or load main class application.Main
Caused by: java.lang.NoClassDefFoundError: javafx/application/Application

λ set | grep -i java
CLASSPATH=.;"C:\Program Files\AdoptOpenJDK\javafx-sdk-12.0.2\lib";
JAVA_HOME=C:\Program Files\AdoptOpenJDK\jdk-12.0.2+10
PATH_TO_FX="C:\Program Files\AdoptOpenJDK\javafx-sdk-12.0.2\lib"

@cmabad
Copy link
Owner

cmabad commented Feb 28, 2020

Hi Wolvverine, it seems that AdoptOpenJDK is not supporting JavaFX, as this issue shows. Using another Java platform like Liberica (Open-sourced, Vihoma works on it) could solve the problem.

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