This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 269711 - JavaFX HelloWorld Project won't run under Java 9 and NB9
Summary: JavaFX HelloWorld Project won't run under Java 9 and NB9
Status: RESOLVED FIXED
Alias: None
Product: javafx
Classification: Unclassified
Component: Project (show other bugs)
Version: Dev
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Roman Svitanic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-01 16:45 UTC by WallaceJackson
Modified: 2017-04-19 12:08 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Key Screenshots of Work Process and Errors (696.31 KB, application/x-zip-compressed)
2017-02-01 16:45 UTC, WallaceJackson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description WallaceJackson 2017-02-01 16:45:33 UTC
Created attachment 163540 [details]
Key Screenshots of Work Process and Errors

1. NB9 would not allow installer to install on Java 9 until I installed Java8
2. Ran NB9 installer, and specified Java 9 inside of the installation process
3. Created the JavaFX8 bootstrap project (Hello World) and Build/Run the code
4. Run cannot find a JavaFX runtime API (JAR file)(see attached screenshot 2)
5. Added module-info.java contents specifying which modules to use (and used):
    requires javafx.media;
    requires javafx.controls;
    exports boredgame to javafx.graphics;
6. TypeError: app.setFallbackClass is not a function in <eval> type error
7. Numerous Nashorn Scripting Errors (screen 3 showing this is attached).
Comment 1 Milutin Kristofic 2017-04-19 12:08:18 UTC
Hi Wallace,

I added fix for running javafx on jdk9 when netbeans runs on jdk8. http://hg.netbeans.org/jet-main/rev/12feb6ce4f1c 

Should be in couple days in dev build.