• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Cannot install JavaFX SDK

 
Cole Terry
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I got the following error message while trying to install JavaFX 2.0 SDK (javafx_sdk-2_0_1-windows-i586.exe):


Consulte the JavaFX 2.0 System Requirements page, it says:



whereas I had Java SE 6 Update 29 already installed, using java -version command:



So what might be wrong in my case?

 
Mohamed Sanaulla
Saloon Keeper
Posts: 3159
33
Google App Engine Java Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you have the JDK installed? JRE and JDK are different. Try running javac -version and let us know what the results are.
 
Cole Terry
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mohamed Sanaulla wrote:Do you have the JDK installed? JRE and JDK are different. Try running javac -version and let us know what the results are.


Thanks for your reply.

Yes, I have JDK installed, running javac -version outputs only "javac 1.6.0"
 
Mohamed Sanaulla
Saloon Keeper
Posts: 3159
33
Google App Engine Java Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JavaFX Requirements:
You must have a minimum of Java SE 6 Update 26 installed on your system.

So you better install Java 7 JDK.
 
Tim Moores
Bartender
Posts: 2895
46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mohamed Sanaulla wrote:You must have a minimum of Java SE 6 Update 26 installed on your system.

So you better install Java 7 JDK.

Huh? Can you explain the logic behind that conclusion?
 
Mohamed Sanaulla
Saloon Keeper
Posts: 3159
33
Google App Engine Java Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tim Moores wrote:
Mohamed Sanaulla wrote:You must have a minimum of Java SE 6 Update 26 installed on your system.

So you better install Java 7 JDK.

Huh? Can you explain the logic behind that conclusion?

The latest version the better it is. Or at least install the required version for JavaFX support.
 
Tim Moores
Bartender
Posts: 2895
46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mohamed Sanaulla wrote:The latest version the better it is.

I could not disagree much more with this sentiment, I think. Each software release introduces bugs; hopefully less than it fixes, but new ones nonetheless. That's especially true of a big update like from Java 6 to Java 7. Unless there is a compelling reason -which in this case there is not, since a recent Java 6 version is sufficient- upgrading just about anything to a recent release should be approached with caution, and not rushed into.

Or at least install the required version for JavaFX support.

Right. That's an appropriate Java 6 version, not Java 7, which you flat out declared to be "better".
 
Mohamed Sanaulla
Saloon Keeper
Posts: 3159
33
Google App Engine Java Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I agree.
But I think while learning, the aspect of "stability" takes a lesser precedence. Its ideal to test with the latest version and if there are bugs- you have got something to report. Thinking on the lines of using a stable version I think using JavaFX 2.0 should itself be not taken up - its more newer and a totally different from its predecessors.

Also there are preview released only so that developers or users use them and report bugs. And I dont think releases would be that unstable that a individual learner would be in trouble upgrading to them.

Being developers I think we shouldn't be thinking more like enterprises searching for stability in what ever we try to use.

There have been lot of cases where people use Beta version of IDEs, tools - so looking at this sentiment we shouldnt be. No matter how good the beta version is.

All these depends on individuals and varies from one individual to another. And these would not be applicable when it comes to an enterprise setup.

As far as introducing new bugs is concerned- lot of bugs gets deferred, bugs which are not release breaking are deferred, but I think the company releasing would be much more concerned about the product's stability than the users using it. And few corner cases get slipped and users encounter them. And its not too late that a patch would be released or may be a fixed version is available for download.
 
Mohamed Sanaulla
Saloon Keeper
Posts: 3159
33
Google App Engine Java Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tim Moores wrote:
Mohamed Sanaulla wrote:The latest version the better it is.

I could not disagree much more with this sentiment, I think. Each software release introduces bugs; hopefully less than it fixes, but new ones nonetheless.


But are we neglecting the new features that the release comes with?
 
Tim Moores
Bartender
Posts: 2895
46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
But I think while learning, the aspect of "stability" takes a lesser precedence.

Again, I very much disagree. Especially when learning a stable environment is important. While obviously one cannot avoid the instability of JavaFX 2 when wanting to learn JavaFX 2, one can -and should- avoid other potential sources of instability.

Being developers I think we shouldn't be thinking more like enterprises searching for stability in what ever we try to use.

I'm not talking about what each and every developer should do in all circumstances, I'm talking about the advice you gave to someone who -judging by the type of problem he's having- is not an experienced Java developer. Those are every different circumstances.

But are we neglecting the new features that the release comes with?

No, note the words "unless there is a compelling reason" in my post. There is no compelling reason in this case.
 
Mohamed Sanaulla
Saloon Keeper
Posts: 3159
33
Google App Engine Java Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think I agree and admit that straight away telling something without a supporting reason was not right.

But I am still not being able to understand why I am being pulled up for suggesting to install Java 7. I dont think its that bad OR I dont think its bad. I might have not suggested a latest version had it been something else. And looking at the kind of adoption- people writing books for covering Java 7, people trying out and blogging about its features, I think sitting back and using older version would do no good.
And can you explain why its not stable? I dont see JVM Crashing every time I run some program, I dont see my compiler handing or crashing and I dont see any reason why OP shouldn't try out Java 7. And one can silently use Java 6 features on a Java 7 environment and that doesn't hurt.
 
Tim Moores
Bartender
Posts: 2895
46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mohamed Sanaulla wrote:And looking at the kind of adoption- people writing books for covering Java 7, people trying out and blogging about its features, I think sitting back and using older version would do no good.

Exactly: It's the people who make a living (or at least a writing) of the latest and greatest that use it. It's very much not the masses, even less so learners. In this situation I'd ask the opposite question: what good does using a newer version do? Cole does not want to delve into Java 7, he wants to run JavaFX 2, for which the version of Java he has installed is sufficient (assuming that the version being run is sufficiently recent - he hasn't posted enough information for us to be sure about that).

I dont see my compiler handing or crashing and I dont see any reason why OP shouldn't try out Java 7.

What you -as an apparently experienced developer- can and should do is different from what a learner should do. Frankly, I get a annoyed when people say "X+1 is better than X" as if that's some kind of universal truth. Sometimes it may be true, but in the context of this topic it ignores the circumstances that make the difference between the versions irrelevant.
 
Mohamed Sanaulla
Saloon Keeper
Posts: 3159
33
Google App Engine Java Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yeah of course, I think Cole actually installed Java 6u29 but it was the runtime, so installing JDK should solve the problem. Glad that we had some discussion around this and might be of some benefit to Cole.


 
Cole Terry
Ranch Hand
Posts: 45
  • Likes 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I realized that my JRE version is 1.6.0u29, not JDK. I have installed JDK 7 and Java FX 2.0 SDK together. Everything is fine now.
I am eager to learn new things in Java 7 and JavaFX 2.0.

Have a good day!
Cheer.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic