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 231756

Summary: Can not run a new JavaFX Application with JDK 1.8
Product: javafx Reporter: mochich
Component: DeploymentAssignee: Petr Somol <psomol>
Status: RESOLVED FIXED    
Severity: normal CC: neigor, svienot
Priority: P2 Keywords: JDK_8
Version: 7.4   
Hardware: Macintosh   
OS: Mac OS X   
Issue Type: DEFECT Exception Reporter:
Attachments: Screenshot of problem
similar problem in Win7 64

Description mochich 2013-06-25 06:40:51 UTC
Created attachment 136250 [details]
Screenshot of problem

I go to File > New Project > JavaFX Application
I assign the JavaFX platform to JDK 1.8 and hit finish
When I run the newly created project, I get a window titled "JavaFX Launcher" with the following message: "This application requires a newer version of the Java runtime. Please download and install the latest Java runtime from java.com. Then restart the application."

Please see attached screenshot.

The same issue occurs when making a new JavaFX FXML Application

I'm currently using NB 7.4 dev version: NetBeans IDE Dev (Build 201306232301) but I have been experiencing the problem for a few weeks on previous builds.
Comment 1 Petr Somol 2013-06-25 09:21:42 UTC
Created attachment 136258 [details]
similar problem in Win7 64

JavaFX projects cause problems also when launched using JDK8 on Win7.
Comment 2 Petr Somol 2013-06-25 10:37:29 UTC
fixed in jetmain
http://hg.netbeans.org/jet-main/rev/74bfee2285b7
Comment 3 Quality Engineering 2013-07-01 15:57:16 UTC
Integrated into 'main-silver', will be available in build *201307011244* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/74bfee2285b7
User: Petr Somol <psomol@netbeans.org>
Log: #231756 - Can not run a new JavaFX Application with JDK 1.8