United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: 8002084 Java control panel does not refect the java enable status via installer command line args
8002084 : Java control panel does not refect the java enable status via installer command line args

Details
Type:
Bug
Submit Date:
2012-10-31
Status:
Closed
Updated Date:
2013-02-05
Project Name:
JDK
Resolved Date:
2012-12-24
Component:
deploy
OS:
windows
Sub-Component:
plugin
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
7u10
Fixed Versions:
7u10

Related Reports
Backport:
Backport:
Backport:
Backport:

Sub Tasks

Description
Select to enable from command line args does not reflect the status in Java control panel and deployment.proeperlies

*** Tested configuration:
- x86 Win 7, x64 Vista
- jre 7u10 nightly

*** Steps to reproduce:
0) Install jre 7u10 nightly build:
http://rehudson.us.oracle.com/hudsonws/7u10_deploy/bundles/windows-i586/b255-2012-10-31_23/
1) Go to Java control panel and select to disable Java content in the browser
2) Uninstall jre 7u10 
3) From the command line, reinstall the same jre 7u10 build from step#0 (passing arg to enable Java WEB_JAVA=1)
4) Complete the installation

5) Check to make sure  java is enable in the browser and from the command loine

Go to Java control panel,  if you see the followings, then the issue is reproducible
- from 'General" tab:  Java is the browser is disable
- from 'Security' tab: the box for 'Enable Java content.." is unchecked




                                    

Comments
Reopen for verification
                                     
2012-12-24
Reproduced.
*** Tested configuration: 
- x64 Win 7 
- jre 7u10 b18 

*** Steps to reproduce: 
0) Install jre 7u10 build
1) Go to Java control panel and select to disable Java content in the browser 
2) Uninstall jre 7u10 
3) From the command line, reinstall the same jre 7u10 build from step#0 (passing arg to enable Java WEB_JAVA=1) 
4) Complete the installation 
5) Check to make sure java is enable in the browser and from the command line 

Same issue https://jbs.oracle.com/bugs/browse/JDK-8003836
                                     
2012-12-24
Bug can not be verified before https://jbs.oracle.com/bugs/browse/JDK-8003836 is not fixed (should be fixed in 7u12)
                                     
2012-12-21
Remaining issues are tracked as part of https://jbs.oracle.com/bugs/browse/JDK-8003836
                                     
2012-12-05
7u10-b17:  Unable to verify this bug since there is known bug that  command line args WEB_JAVA=1 dos not work
Hence,  the precondition step 5) failed before getting to the verification part 

                                     
2012-11-29
the problem here is once user sets enabled to false (non-default) in user deployment.properties, setting it to true (default) in system deployment.properties has no effect.
The installer call may have resulted in regdeploy fully re-registering java in the browser, but the java code in Config is still honoring the users choice to disable (at least at the java level)
We discussed this dilemma but never implemented a fix.
We shouldn't just let the system deployment.properties override users choice - else in this case user would not be able to disable java in the browser later.  We need to know when choice was made - and respect later.
 
                                     
2012-11-11
This seem to be valid problem with latest 7u10 build. I am not sure what exactly is broken. 
I do not see any attempt to "reset" DeployJava property in the Process Monitor and i'd expect this to happen if we get hint from installer.
Bouncing to Thomas to evaluate further.
                                     
2012-11-09
SQE-OK to get this issue fixed against 7u10
                                     
2012-11-05



Hardware and Software, Engineered to Work Together