File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JavaFX and the fly likes Could not run JavaFX 2.0 samples Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JavaFX
Bookmark "Could not run JavaFX 2.0 samples" Watch "Could not run JavaFX 2.0 samples" New topic
Author

Could not run JavaFX 2.0 samples

Cole Terry
Ranch Hand

Joined: Nov 23, 2011
Posts: 45
Dear all,

I have JavaFX 2.0 SDK installed, along with Java 7 SDK. I downloaded the javafx_samples-2_0_1.zip from Oracle download site, I tried running a sample but got the following exception:



The SDK is located at C:\Program Files\Oracle\JavaFX Runtime 2.0\. What am I missing here?


Thanks.
siska corneillie
Greenhorn

Joined: Mar 09, 2008
Posts: 1
Hi Terry,

Unfortunately no answer from me (yet) ... I'm having the same problem when I try to launch JFX projects in the browser.
Launching as a web start or stand alone project seems to be ok for me.

Hopefully, somebody will come to our rescue soon :-)
Cole Terry
Ranch Hand

Joined: Nov 23, 2011
Posts: 45
Thanks siska corneillie,

Yes, you are right, all the *.jar and *.jnlp files work perfectly.

Hope someone can solve the problem for running them in browsers.
Mohamed Sanaulla
Saloon Keeper

Joined: Sep 08, 2007
Posts: 3068
    
  33

Cole Terry wrote:Thanks siska corneillie,

Yes, you are right, all the *.jar and *.jnlp files work perfectly.

Hope someone can solve the problem for running them in browsers.


Is your query related to this?


Mohamed Sanaulla | My Blog
Kevin Holohan
Greenhorn

Joined: Dec 19, 2011
Posts: 2
Get JavaFX 2.0 Runtime, rather than JavaFX Runtime 2.0
This is the name of the folder for the JavaFX runtime components in the Oracle directory where you have installed JavaFX
or to clarify simply...
update your runtime to JavaFX 2.0.2 or the latest which is JavaFX 2.0.2 to date.

 
jQuery in Action, 2nd edition
 
subject: Could not run JavaFX 2.0 samples