Closed alalloush closed 3 years ago
Did some research, and it looks like from JDK 11, JavaFX is no longer included with the JDK, it's now a separate dependency. I don't know if this applies to OpenJDK 16, but I have a feeling it might. Try building JTegraNX from source using OpenJDK 16 and add JavaFX to the external dependencies.
go to command promt and type java -jar myfile.jar JTegraNX.txt or use this just change .txt to .bat and put in same folder as your jar file
@aihooo444 If you read the first comment for the issue you can see that he already tried that.
No responses, issue closed.
Ok, so instead of just closing this and ignoring it, I've decided to re-open this issue and get JavaFX packaged properly and hopefully get it done right to maximize compatibility. It will take some time and lots of testing on different JDK versions.
JTegraNX v1.6.8 properly packages JavaFX to fix this issue, closing.
Windows 10 20H2 OpenJDK 16.0.1
When running the jar via
java -jar JTegraNX.jar
, I get the errorError: Could not find or load main class ui.fx.JTegraNX Caused by: java.lang.NoClassDefFoundError: javafx/application/Application
I'm not sure if the issue is from my end, but it might be possible that JavaFX isn't packaged properly.