Solo761/C64CartBinCreator

No more JavaFX in current OpenJDK releases

Closed this issue · 1 comments

It's impossibile to compile the maven project since NoClassDefFoundError related to JavaFX ones

It seems that OpenJDK doesn't include JavaFX libs. When I made this I used Oracle JDK, now I use JDK 8 compiled by Amazon and it compiles fine with it so they still include it.

https://docs.aws.amazon.com/corretto/latest/corretto-8-ug/downloads-list.html

Alternatively you can also build it with OpenJDK 11 (and probably 12, 13 and 14) but in this case you need to include JavaFX libraries from maven repository to pom.xml and corresponding OpenJDK version. I've just tried that with OpenJDK11 and it worked

https://mvnrepository.com/artifact/org.openjfx

For example, it's enough to add

<!-- https://mvnrepository.com/artifact/org.openjfx/javafx-fxml -->
<dependency>
    <groupId>org.openjfx</groupId>
    <artifactId>javafx-fxml</artifactId>
    <version>11.0.2</version>
</dependency>

to pom.xml and it will build