aspose file tools*
The moose likes JavaFX and the fly likes Checking Paths in JavaFX Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » JavaFX
Bookmark "Checking Paths in JavaFX" Watch "Checking Paths in JavaFX" New topic
Author

Checking Paths in JavaFX

Jim Anderson
Greenhorn

Joined: Apr 19, 2013
Posts: 15

I get a “JavaFX Launcher Error”, “Exception while running Application” when I run a wizard created program. Based on Q&A on the Web, I think my problem may be due to the JAVAFX Path settings. When I go to Tools>>Java Platforms>>"Default JavaFX Platform">>JavaFX Tab, I find only "JavaSE" >> JDK1.7. There's no Path to JavaFX.

John Damien Smith
Ranch Hand

Joined: Jan 26, 2012
Posts: 147
    
    9
I advise using Java 8 and NetBeans 7.4.

In Oracle Java 8, JavaFX is on the default runtime classpath (unlike in previous versions).
In NetBeans 7.4 they completely reworked the JavaFX platform stuff (to remove it as it was unnecessary and confusing).

You can get NetBeans 7.4 from:
https://netbeans.org/community/releases/74/index.html

You can get Java 8 from:
https://jdk8.java.net/download.html
John Damien Smith
Ranch Hand

Joined: Jan 26, 2012
Posts: 147
    
    9
If you are using NetBeans 7.3, you can run through the following instructions to setup a JavaFX platform.
https://netbeans.org/kb/docs/java/javafx-setup.html
 
 
subject: Checking Paths in JavaFX