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 Java 8 in Action this week in the Java 8 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: 11

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: 102
    
    7
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: 102
    
    7
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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Checking Paths in JavaFX
 
Similar Threads
how to set path for javafx and j2ee
JavaFX, Java 6, and Linux
JavaFX for All Platforms
Where is JavaFx Headed?
How to install JavaFx in Ubuntu 12.04?