JDK-8011182 : Unable to enable the last jre remaining on the system
  • Type: Bug
  • Component: deploy
  • Sub-Component: plugin
  • Affected Version: 7u21
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: windows
  • CPU: generic
  • Submitted: 2013-04-01
  • Updated: 2015-08-12
  • Resolved: 2014-11-06
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
7u80Fixed 8u40 b17Fixed 9Fixed
Related Reports
Duplicate :  
* Scenarios:
- Install latest jre 8-b83 promotion
- Install latest jre 7u21-b10 promotion
- Select to disable jre 8 from the JCP-->Java-->View-->User
- Uninstall jre7u21

There is no way to enable jre 8 again from the Java control panel..
Go back to JCP-->Java-->View-->User and the jre8 enable checkbox is NOT selectable.
It is a dead end as the installed jre 8 is not usable from user perspective,

If trying to invoke an applet in this case, there is exception: 

Exception in thread "Thread-2" java.lang.IndexOutOfBoundsException: Index: 0
ze: 0
        at java.util.ArrayList.rangeCheck(ArrayList.java:603)
        at java.util.ArrayList.get(ArrayList.java:381)
        at sun.plugin2.main.server.JVMManager.getBestJREInfo(Unknown Source)
        at sun.plugin2.main.server.JVMManager.getBestJREInfo(Unknown Source)
        at sun.plugin2.main.server.JVMManager.getOrCreateBestJVMInstance(Unk
        at sun.plugin2.main.server.JVMManager.startAppletImpl(Unknown Source
        at sun.plugin2.main.server.JVMManager.startApplet(Unknown Source)
        at sun.plugin2.main.server.JVMManager.startApplet(Unknown Source)
        at sun.plugin2.main.server.MozillaPlugin.maybeStartApplet(Unknown So
        at sun.plugin2.main.server.MozillaPlugin.setWindow(Unknown Source)

Crucible review: https://java.se.oracle.com/code/cru/CR-JDK9CLIENT-579

SQE-OK to defer this issue to 7u40

not a showstopper for 7u25. 8 is not official released that. And workaround is to re-install JRE on the system. This is corner case where user disable JRE and uninstall JRE.