Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Checking Paths in JavaFX

 
Jim Anderson
Greenhorn
Posts: 15
Eclipse IDE Java Notepad
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 298
14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 298
14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic