Is there a way for a user to easily upgrade to JRE7? I am considering how can I release some JFX2.0 to the masses if they will not be able to easily upgrade. Is there a link they can be forwarded to or maybe a an autoupgrade setting in the JNLP/applet?
I had upgraded to JDK 7, so I had both JRE6 and 7 installed. JRE6 is my default, so when I launched a JFX2.0 JNLP it failed, telling me that I do not have JE7 and that it cannot install it. I had to right click on the JNLP file and change the properties to use JRE 7. This does not make for a comforting user experience.
How you want to distribute and run your application?
Does your application really need JRE7?
To answer your specific question options to upgrade to JRE7 are:
1) manually download and install from http://www.oracle.com/technetwork/java/javase/downloads/jdk-7u4-downloads-1591156.html
2) specify in JNLP that JRE7 is needed
(need to edit <j2se> version in jnlp file)
3) specify in the HTML page that JRE7 is needed
(specify jvm requirements for the platform - http://docs.oracle.com/javafx/2/deployment/deployment_toolkit.htm#sthref41)
However, if all you need is to deploy javafx application and your application does not really need JRE7 by itself then recommended strategy is:
1) rebuild your application with javafx 2.1 (this will make javafx 2.1 minimum required version of javafx)
2) distribute result package (build by packager or ant task), it should have embedded support for guiding user to install javafx 2.1 and jre if upgrade is needed
JavaFX 2.1 and JRE 7u4 have many bugs fixed in the installation/registration code and this should improve stability.
Also, latest JRE6 updates are JavaFX aware and should not corrupt JavaFX installation on Java autoupdate.
I want my app to be playable via a web browser. Its a game so I would like the experience to be as close to a flash game.... the user goes to a website where they can play the game.
I am coding it in Java 7 with JFX 2.1. So they both are dependencies.
In step 1), are you stating the user will have to manually install to JRE 7? The problem with this is that in my experience a parallel JRE 7 is installed versus an upgrade from 6, which might lead to the problem I experienced. Also, that Oracle page is not very user friendly.
Any idea when JRE 7 will be upgraded on the millions of computer with Java Update running?
In step 1), are you stating the user will have to manually install to JRE 7?
these are not steps. these are alternatives.
If you are deploying application embedded in the browser then your best bet is option 3 i think.
It still may lead to need to go to Oracle site if upgrade/install is really needed. Best you can do is to customize process explaining steps to your users.
Concurrent JRE7 and JRE6 installations should be ok. Older version of JRE is always default.
It used to be a problem if user has JavaFX installed and then JRE6 was autoupdated.
This should be resolved in latest JRE6 update.