FibreFoX / javafx-gradle-plugin

Gradle plugin for JavaFX
Apache License 2.0
427 stars 58 forks source link

Java 11 Support #144

Open anddero opened 5 years ago

anddero commented 5 years ago

Is there an example project with configuration for Java 11+?

Currently I get the error Couldn't find Ant-JavaFX-library, please make sure you've installed some JDK which includes JavaFX (e.g. OracleJDK or OpenJDK and OpenJFX), and JAVA_HOME is set properly.

My JAVA_HOME is set to the JDK installation directory A:\Software\Java\jdk-11.0.1.

Am I supposed to fetch some JavaFX jar manually and put it somewhere in my dependencies? If that's the case, could you please put brief instructions in the README?

Thanks!

anddero commented 5 years ago

I used to use Java 10 about half a year ago and the project was working perfectly. Now I don't have Java 10 anymore and it is not available through Oracle as well. I opened the same project and can't get it to work with Java 11. I know JavaFX got removed completely but maybe I can manually provide it?

FibreFoX commented 5 years ago

Would not yet work, because this plugin does not yet support JPMS. In addition not the UI-part of JavaFX is required, but the packager-stuff, which got removed in JDK 10 and replaced by something different in JDK 11.