JDK-4431364 : JRE should always be installed
  • Type: Bug
  • Component: deploy
  • Sub-Component: webstart
  • Affected Version: 1.0
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: windows_nt
  • CPU: x86
  • Submitted: 2001-03-28
  • Updated: 2002-10-07
  • Resolved: 2002-10-07
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
1.4.2 mantisFixed
Description
This also seems like a cool feature or bug.

(This is, btw, a problem we are causing ourselfs because the 
JRE messes around with registry keys when it really shoudn't.
A JRE bundled with a product should remain anonymous and not
be put in the windows registry)

A work-around for Javaws is to always install the bundled
JRE if one does not exist in C:\Program Files\JRE\1.3.0_02 
From the forum:

Hello everyone. My apologies if the question
I'm about to ask has been answered before.

Is there a way to FORCE the JWS installation
program to install its accompanying JVM, vs. checking
the target PC to see if a JVM already exists,
and then using that one instead?

Here's my dilemma. On some PC's at the client
company that I am currently doing work for,
developers have JBuilder 4.0 (I'm using
JBuilder for my example, but it can be any program), which
contains a JVM already. When WebStart is
installed, it does not install the JVM that it came with,
but instead points to the JVM that alredy
exists in a subdirectory of JBuilder.

The problem is then what happens when/if
JBuilder is uninstalled later on? Does the Java apps that
JWS launches all of a sudden stop working,
because the JVM that they are associated with no
longer exists (since it was uninstalled as
part of the JBuilder uninstall (which installed its JVM in the
first place))?

Its a matter of supporting client PC's, and
having to wonder if that in the future the Java business
application will stop working because another
unrelated application was uninstalled. If I could
guarantee that a JVM exists, because I put it
there, then I would feel better about using JWS. I
understand that the user could uninstall the
JVM being installed by JWS, but it is not very likely
that they would do that, while it is more
likely that they would uninstall a program that they
themselves installed previously, that had its
own JVM.

Any advice is appreciated. Thanks for your
time and thoughts.

Adrian Romanelli
Sun Certified Java 2 Programmer

---



Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: mantis FIXED IN: mantis INTEGRATED IN: mantis
31-08-2004

EVALUATION We have no way of knowing, without "guessing" based on the path, whether a JRE has been bundled with another application or not, and thus whether it is a "valid" JRE for Java Web Start to be using. We've agreed to re evaluate this after 1.0.1 FCS, but this might not be fixable in its current state. -stephen.bohne@East 2001-04-03 Since a JRE is not bundled into jaws anymore (jaws is now bundled into the JRE), this can be considered fixed. The JRE is always installed now. ###@###.### 2002-07-23
03-04-2001