Skip to main content

deployJava.js without the DLLs?

2 replies [Last post]
anqing
Offline
Joined: 2007-12-03

Hi,

It seems that in order to use deployJava.js, I need to install the full toolkit including the dlls such as npdeploytk.dll and deploytk.dll. Am I right?

I'm working on a project with JWS. The app needs to run with JRE 1.5+. I guess I can't take advantage of the deployJava.js alone without installing the full JRE 6uN, right?

In other words, can I run deployJava.js standalone without anything else?

Thanks for any help!

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
deklotz
Offline
Joined: 2006-03-03

I doubt you are going to get much of an answer here, I never did, so I'm going to do it lol.

From all of my investigation, the dlls are only available if you install the N release. But I also found a few bugs that the fix involved rolling out those dlls and they haven't been put back in. So I don't really know if the dlls ever made it back....

I can tell you however, that the deployJava.js can be used without as long as you realize that any test for detecting the current and or installing a version of java will ALWAYS install the latest JRE. That is java 1.6_03 (for now).

Hope that makes sense.

-dklotz

andyherrick
Offline
Joined: 2005-04-17

Is not quite true that "any test for detecting the current and or installing a version of java will ALWAYS install the latest JRE."
In the original example here, a request for 1.5+ will only install the latest available JRE if no 1.5 family JRE is installed.
The problem with the javascript only solution can only detect to the family version, not to the update version. So while deployJava.versionCheck("1.5+") will properly return true if any 1.5 version is installed, deployJava.versionCheck("1.5.0_07+") will also return true return true if any 1.5 version is installed, even if the installed update is 1.5.0_06 or earlier.
(This would not be the case if the plugins are installed). Also, without the plugins, installing a specific version: deployJava.installJRE("1.5.0_13") will always install the latest, instead of the specific requested version.

/Andy