When I start NetBeans dev build on latest JDK9:
$ ~/bin/jdk1.9.0/bin/java -version
java version "9-ea"
Java(TM) SE Runtime Environment (build 9-ea+174)
Java HotSpot(TM) 64-Bit Server VM (build 9-ea+174, mixed mode)
it reports that it cannot find capability org.openide.modules.jre.JavaFX and as a result it doesn't enable:
Warning - could not install some modules:
org.netbeans.libs.javafx - No module providing the capability org.openide.modules.jre.JavaFX could be found.
org.netbeans.api.htmlui - The module org.netbeans.libs.javafx would also need to be installed.
com.dukescript - The module org.netbeans.api.htmlui would also need to be installed.
com.dukescript - The module org.netbeans.libs.javafx would also need to be installed.
This is probably caused by the "JavaFX support" - http://hg.netbeans.org/releases/file/426cf49d9cea/core.startup/src/org/netbeans/core/startup/CoreBridge.java#l180
not being ready for JDK9.
I guess that capability org.openide.modules.jre.JavaFX can be completely removed, since NetBeans dev. builds are running only on JDK 8 and newer.
Not really. On Solaris and OpenJDK there may be no JavaFX. In such case the capability isn't present and the htmlui & depending modules are properly disabled.
Integrated into 'main-silver', will be available in build *201706250001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
User: Jaroslav Tulach <email@example.com>
Log: #270930: Assume JavaFX classes are available on classpath (as they are on JDK8 and JDK9 build 174)