Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

getting exception when using bundled JavaFX SDK/JRE in Netbeans

jmartSep 12 2012 — edited Sep 13 2012
When I attempt to set my JavaFX JRE/SDK to use Java SE and run my app I get a ClassLoader exception (java.lang.NoClassDefFoundError: javafx/application/Application).

I have yet to get my Netbeans to properly use the bundled JavaFX JRE/SDK that come with Java SE's JRE/SDK. I am referring to Java platform properties for JavaFX (in a project -> Properties -> Libraries -> Manage Platforms -> JavaFX tab).

Here is what I have my JavaFX platform settings set to:
JavaFX SDK -> C:\Program Files (x86)\Java\jdk1.7.0_10
JavaFX JRE -> C:\Program Files (x86)\Java\jdk1.7.0_10\jre

I am currently using Netbeans 7.2 and Java 7u10 (the problem also happens with 7u7 and 7u6).

For anyone using Java7u6 and later, can you tell me what your Manage Platform setting is for the JavaFX tab?????

thanks
jose
This post has been answered by jmart on Sep 13 2012
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 11 2012
Added on Sep 12 2012
6 comments
1,263 views