Now that I've installed a Mustang JDK snapshot, I don't know how to get my browser (Firefox 1.0.7) to use 1.5 when I want. Is it possible without uninstalling Mustang?
Do you need to be able to use both versions of Plug-in? If not, then the easiest solution on Windows is to use a private install of the Mustang JRE. Firefox should not see the private install, so it won't use the Mustang version of Plug-in.
You can get a private install in one of two ways:
1.) Using the Windows Installer: after accepting the license, the next screen list the components that will be installed. One of these is the "Public JRE". Click on this and choose, "Don't install this feature now."
2.) Using the JRE or JDK self-extracting JAR file: just download the installer, double-click the icon, accept the license, and tell it where to install.
Now if you run Firefox, and enter "about: plugins" in the address bar (stupid thing, there's no space between : and p, but :p makes a smiley), you should see that it picks up whatever version of Java you have publicly installed, not the 1.6.0 version.
You might wonder, "what in the world is a public JRE?" A public JRE is a JRE installed by the Windows Administrator, and includes a bunch of registry settings that tell other applications (mostly browsers) how to find Java, the Plug-in, and other tools.
You might also wonder, "what are the limitations of a private JRE?" First off, you can't possibly tell your browser how to use the Plug-in from a private JRE. In addition there are no entries in the Windows Registry, you won't have Java in your default path, and running Java Web Start is a little more complicated. (If you are using Java Web Start, let me know and' I'll go into the details.)
> Now that I've installed a Mustang JDK snapshot, I
> don't know how to get my browser (Firefox 1.0.7) to
> use 1.5 when I want. Is it possible without
> uninstalling Mustang?
What platform are you running on? If you are on Solaris or Linux, the browser discovers the Java plugin you want it to use via a symbolic link in the [i]plugins[/i] directory of the browser install.
These documents may help:
[b] How do I update Java Plug-in for my browser after I have upgraded to a new version of Java Runtime Environment?[/b] http://www.java.com/en/download/help/5000012300.xml
[b]Manual Installation/Registration of Java Plug-inâ€”Solaris[/b] http://java.sun.com/j2se/1.5.0/manual_install_solaris.html
[b]Manual Installation/Registration of Java Plug-inâ€”Linux[/b] http://java.sun.com/j2se/1.5.0/manual_install_linux.html
I'm running on Windows XP.
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Participation.
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.