Can someone, please, provide a working build.sbt that works with JDK 11 and targets JDK 11? Might be with Scala 2.13.
for “works with JDK 11”, you don’t need to do anything special (except be using the latest patch release of whatever sbt version you’re on. currently that means 0.13.18, 1.2.8, or, if you’re brave, 1.3.0-RC1)
not sure what you mean by “targets JDK 11”. to target both JDK 8 and 11, you don’t need to do anything special.
do you have an existing build.sbt that isn’t working? if so, what are the symptoms?
I want to use OpenJFX 11. Therefore I need to add a module-info.java otherwise it won’t work. But as soon as there is a “module-info.java” in a Java source folder the compilation fails.
Does it indeed not work for you? I’ve done a few JavaFX projects with OpenJFX 11 and 12 in the past year as part of my Uni homework, and never had to add a
module-info.java to make them work.
Yes, it does not work for me. Do you have a simple example project for me?
Here you are my friend ->
This works with Scala 2.12 and JavaFX 11 !!
NOTE: Please ensure you have Java JDK 11 installed and configured with the proper JAVA_HOME and PATH