Skip to main content

deployJava.js doesn't download latest JRE

No replies
Joined: 2009-11-24

We are trying to use Java Deploy Plugin to launch our JWS application.
Our environment:
- Windows XP 32bit
- latest JRE 1.6.0_17-b04
- latest Firefox 3.5.5

We wrote simple index.html:


When this code is executed, the launchWebStartApplication() function checks for JRE 1.6.0_18:

// windows case
if (uaString.indexOf("windows", 0) != -1) {
if (deployJava.isWebStartInstalled('1.6.0_18') == false) {
// perform latest JRE auto-install
if (deployJava.isPluginInstalled()) {
if (deployJava.installLatestJRE() == false) {
alert("Java install failed: cannot use launchWebStartApplication function");
} else {
alert("Please visit to install Java and try again after");

So far there is no JRE 1.6.0_18 installed, and function installLatestJRE() called.
Finally, it calls plugin:
if (deployJava.getPlugin().installLatestJRE()) ...

Next, the plugin download , parse it, and pick up the "latest" bundle:

The plugin download that bundle (36668) and launch JREInstall160_17.exe, which install JRE 1.6.0_17 that we already have installed. No big progress.

What I was missed?

Is there "early access" "dtoolkit.xml", or other ways to force "deployJava.js" to do its job automatically?
If no such exists, please, tell me how soon JRE1.6.0_18 will appbear in the official "dtoolkit.xml" ?