This week's book giveaway is in the Cloud/Virtualization forum.
We're giving away four copies of Kubernetes in Action and have Marko Luksa on-line!
See this thread for details.
Win a copy of Kubernetes in Action this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Checking Paths in JavaFX  RSS feed

 
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.

 
Ranch Hand
Posts: 361
22
  • 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: 361
22
  • 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
Boost this thread!