Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Could not run JavaFX 2.0 samples

 
Cole Terry
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3159
33
Google App Engine Java Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Kevin Holohan
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic