Geertjan Wielenga created NETBEANS-1489:
-------------------------------------------
Summary: For JDK 11+, update jfxrt.jar references to
javafx.base.jar
Key: NETBEANS-1489
URL: https://issues.apache.org/jira/browse/NETBEANS-1489
Project: NetBeans
Issue Type: Bug
Reporter: Geertjan Wielenga
Here are references in the codebase to jfxrt.jar, which should now be
javafx.base.jar:
https://github.com/apache/incubator-netbeans/search?q=jfxrt.jar&unscoped_q=jfxrt.jar
The user should be told that, to use Apache NetBeans with JavaFX from JDK 11
onwards, they must follow the https://openjfx.io/openjfx-docs/#install-javafx
instructions:
1. Download the SDK applicable from https://gluonhq.com/products/javafx/.
2. export PATH_TO_FX=/path/to/javafx-sdk-11/lib
3. Ant task in JavaFX Ant-based application should be updated (in the project
template, ideally, or by the user themselves) to include the following in the
Ant build target:
javac --module-path $PATH_TO_FX --add-modules=javafx.controls HelloFX.java
In the above, add the additional modules needed, and all the JavaFX classes at
the end.
4. The Ant run target should be updated to include this call, where the last
parameter is the fully qualified main class:
java --module-path $PATH_TO_FX --add-modules=javafx.controls HelloFX
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists