JDK-8010360 : Not able to "Enable" java using Java Tab under some scenarios
  • Type: Bug
  • Component: deploy
  • Affected Version: 7u21,8
  • Priority: P5
  • Status: Resolved
  • Resolution: Duplicate
  • Submitted: 2013-03-19
  • Updated: 2015-08-12
  • Resolved: 2015-08-12
Related Reports
Duplicate :  
Description
If jre is removed after unchecking the "Enabled" option inside the Java Tab of java control panel, then user cannot enable it again using Java tab if same version of JRE is installed again

Steps to reproduce:
   -  Install 7u21 (latest nighty build)
   - Goto Java tab inside JCP and uncheck the "Enabled" option
   - Save settings
   - remove 7u21 and install it again
   - Go to java tab and try to enable 7u21 again, if it fails to work then bug is reproduced . As a result applets/applications fails to load using 7u21

Workaround : remove deployment.properties file form dep_user_home, now you can see java is getting enabled
Comments
fixed as JDK-8011182
12-08-2015

If the java tab lists only one JRE - then you cannot disable it or delete it. Unfortunately, preventing disable means disabling the control, which also prevents enabling it if it is somehow disabled. You can disable the last one by disabling it then removing the next to last one, or by removing everything then re-installing one which was previously disabled. It is intended to not be able to disable it, and should not cause it to prevent it from being enabled. However is not much concern, if a jre is the only one, it will be used even if disabled.
21-03-2013