United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-5008556 Cannot set different runtime parameters for different 1.4.2_x versions
JDK-5008556 : Cannot set different runtime parameters for different 1.4.2_x versions

Details
Type:
Bug
Submit Date:
2004-03-05
Status:
Closed
Updated Date:
2004-07-22
Project Name:
JDK
Resolved Date:
2004-06-25
Component:
deploy
OS:
windows_2000
Sub-Component:
plugin
CPU:
x86
Priority:
P3
Resolution:
Fixed
Affected Versions:
1.4.2
Fixed Versions:
1.4.2_06 (06)

Related Reports

Sub Tasks

Description
With the change in the deployment structure for the 1.4.2 plugin, there is no longer any way to specify different runtime parameters for different JRE versions.  For example, if you have both 1.4.2 and 1.4.2_03 installed on a Windows system, and you change the Java runtime parameters for 1.4.2 using C:\Program Files\Java\j2re1.4.2\bin\jpicpl32.exe, this will also change the runtime parameters for 1.4.2_03.

Version-specific properties are no longer written to individual properties files like they were prior to 1.4.2 (i.e. C;\Documents and Settings\Administrator\.java\properties141).  Instead, they are being written to the C:\Documents and Settings\Administrator\Application Data\Sun\Java\Deployment\deployment.properties files.  While the deployment.properties file contains version-specific information for 1.5.0+ (i.e. deployment.javapi.jre.1.5.0.args=-verbose), it only contains one generic entry for all 1.4.2 versions (i.e. deployment.javapi.jre.args=-verbose).


                                    

Comments
EVALUATION

In 1.4.2_0x we cannot simply add  a new propert like 
javaplugin.jre.VERSION.params because this would mean that the plugin launcher 
would have to know about this property and use it. This could be possible going 
forward but then previous 1.4.2_0x versions that do not know about this property
would not use it and use javaplugin.jre.params.

This is why I propose that we still use javaplugin.jre.params for the params to
be used with the currently selected jre, but also maintain 
javaplugin.jre.VERSION.params for each version that has parameters set.

This way if parameters have been set for a particular jre they will stored in 
the deployment.properties file and can be used by setting javaplugin.jre.params
equal to them when the respective jre is selected.


###@###.### 2004-04-01
                                     
2004-04-01
CONVERTED DATA

BugTraq+ Release Management Values

COMMIT TO FIX:
1.4.2_06
generic

FIXED IN:
1.4.2_06

INTEGRATED IN:
1.4.2_06

VERIFIED IN:
1.4.2_06


                                     
2004-07-23



Hardware and Software, Engineered to Work Together