United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: 4431364 JRE should always be installed
4431364 : JRE should always be installed

Details
Type:
Bug
Submit Date:
2001-03-28
Status:
Resolved
Updated Date:
2002-10-07
Project Name:
JDK
Resolved Date:
2002-10-07
Component:
deploy
OS:
windows_nt
Sub-Component:
webstart
CPU:
x86
Priority:
P4
Resolution:
Fixed
Affected Versions:
1.0
Fixed Versions:
1.4.2

Related Reports

Sub Tasks

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


                                     
2004-08-31
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
                                     
2001-04-03



Hardware and Software, Engineered to Work Together