Details
-
Bug
-
Status: Open
-
Trivial
-
Resolution: Unresolved
-
None
-
None
-
None
Description
I create a Java Application, and use HelloFX example to successfully build and run it.
On Project Properties > Build ** > Deployment it is possible to press the "Switch Project to JavaFX Deployment Model" button.
This change works, but the Build fails with message about JavaFX Deployment files missing.
If I copy "ant-javafx.jar" from "/home/<user>/.sdkman/candidates/java/8.0.191-oracle/lib"
TO "/home/<user>/.sdkman/candidates/java/tools"
The build completes, and the JavaFX HelloFX runs successfully.
(I happen to use SDKMAN - you can convert paths if you don't use)
I know many are moving to Maven and Gradle to build JavaFX applications, but I was just interested as to why the Ant method failed. I used Ant Verbose to find the reason.
Do you intend to fix the create JavaFX Application wizard? And continue to offer the Ant build method?
Is there a better way of achieving the same fix as I have found?
Product Version: Apache NetBeans IDE 10.0 (Build incubator-netbeans-release-380-on-20181217)
Java: 11.0.1; OpenJDK 64-Bit Server VM 11.0.1+13
Runtime: OpenJDK Runtime Environment 11.0.1+13
System: Linux version 4.18.0-13-generic running on amd64; UTF-8; en_GB (nb)