JDK-6432317 : Vista: Java Plugin won't be able to launch extension installers.
  • Type: Bug
  • Component: deploy
  • Sub-Component: plugin
  • Affected Version: 6
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: windows
  • CPU: x86
  • Submitted: 2006-05-31
  • Updated: 2010-04-04
  • Resolved: 2006-07-20
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.
Other JDK 6
1.4.2_19-revFixed 6 b92Fixed
Related Reports
Relates :  
Java Plugin has an extension mechanism that will enable applets to install system-wide extensions into the jre/lib/ext (e.g c:\Program Files\java\jre1.6.0\lib\ext) directory. That won't work for window Vista OS, as protected mode can't write there.
Actually, plugin itself dosn't write to the lib/ext directory.  The problem is that plugin is not allowed (unless running as administraitor) to call Runtime.exec() to launch the installer (which itself may write to lib/ext or wherever it wants).

For now we need to update the release notes to clairify this, and show a more meaningfull error dialog that informs the user why the installer cannot be run.

EVALUATION We are going to show a error dialog box with the following text: "Only Administrators can run extension installater in Window Vista" for user to launch extension installer from Window Vista machine.

EVALUATION Currently the extension install in JPI will only works when you login window Vista as Administrator, for Administrator User or Standard User, it won't work. The issue is not only related to write file to jre/lib/ext directory, it is before that, JPI don't have permission to create a bin/java process which needed to do extension installation. as extension install is a separate process as a new installation. The window Vista has taken the new security model and won't allow low process (JPI in IE) to create a new process. See bug #6440902 for same issue.