Monday 13 June 2011

Control Java Version used By Internet Explorer

Controlling multiple Java versions on Windows Server 2008/ Windows 7 and Internet Explorer 

You can have multiple versions of the Java runtime Environment installed on your windows platform.

Control Panel
The last version installed will be the one that displays from Control Panel. If you wish to launch the control panel for another version simply browse the C:\programs files\Java directory for the relevant version and in the BIN directory their should be a javacpl.exe. This will allow you access to that versions control panel.

Internet Explorer Intergration
Using the java control panel for the required version is the easiest way to set the Java version that will interact with Internet explorer. The following however can be perforemed within the registry.


When you click Internet options, advanced and scroll thru to the java section you will see the Java version registered with Internet Explorer.
To change this version number via the registry you need to find the following key
HKLM\Software\Javasoft\Java Plug-in\x.x.x_xx
UseJava2Iexplorer =  0 = OFF   1 = ON

And edit a number of values under the following registry section
HKLM\Software\Microsoft\Internet Explorer\AdvancedOptions\JAVA_SUN

And alter the users deployment file stored in
%applicationData%\Sun\Java\Deployment

No comments:

Post a Comment