I have switched to OpenJDK 11 and for some reason it doesn't include JavaFX, so I have to use it as a dependency now. However, SBT imports an empty jar.
Just curios why it may happen and how to fix?
I have switched to OpenJDK 11 and for some reason it doesn't include JavaFX, so I have to use it as a dependency now. However, SBT imports an empty jar.
Just curios why it may happen and how to fix?
In order to get proper jar you need to add OS classifier. For instance: "org.openjfx" % "javafx-base" % "12-ea+4" classifier "linux"
. Or you can follow the example: https://www.reddit.com/r/scala/comments/9fbzbk/build_file_snippet_for_using_javafx_with_java_11/