United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6672972 The "JRE Finder" wizard in JCP's Java Runtime Settings dialog doesn't see j2re-image as valid jre
JDK-6672972 : The "JRE Finder" wizard in JCP's Java Runtime Settings dialog doesn't see j2re-image as valid jre

Details
Type:
Bug
Submit Date:
2008-03-08
Status:
Resolved
Updated Date:
2010-09-08
Project Name:
JDK
Resolved Date:
2008-04-03
Component:
deploy
OS:
windows_xp
Sub-Component:
plugin
CPU:
x86
Priority:
P4
Resolution:
Fixed
Affected Versions:
6u10
Fixed Versions:
6u10 (b21)

Related Reports

Sub Tasks

Description
This is with 6u10b13 (probably reproducible with earlier builds as well).

I point the Java Control Panel's "JRE Finder" wizard to a j2re-image
directory (a result of 'make image-jre' in j2se ws), but it doesn't
recognize it as proper jre.

                                    

Comments
WORK AROUND

copy deploy.jar from any j2re image to j2re-image/lib
                                     
2008-03-08
EVALUATION

The JRE finder for the Java Plug-In is looking for lib/deploy.jar. We should probably look for bin/java[.exe] or similar so that JDK developers can use their built images with the new plug-in instead of requiring them to build the deploy workspace as well.
                                     
2008-03-08
SUGGESTED FIX

http://sa.sfbay.sun.com/projects/deployment_data/6u10/6672972.1
                                     
2008-03-10
EVALUATION

When the "JRE finder" wizard was generalized to work with the new Java
Plug-In, the way it identified a JRE was looking for lib/deploy.jar.
This mechanism doesn't work well for most JRE developers who don't
build the deploy workspace but who may want to run their development
builds with the new Java Plug-In. A better detection mechanism is to
look for bin/java{.exe}, while ensuring that jre/bin/java{.exe} does
not exist. This prevents accidentally running on top of a JDK's java
executable, which is not supported.
                                     
2008-03-10



Hardware and Software, Engineered to Work Together