Solved

Using Java 5 (Update 11) with IE while Java 6 (Update 21) is installed for use with Firefox

Posted on 2010-08-25
11
2,290 Views
Last Modified: 2013-12-22
Here's the background: our company has one particular system that will only run properly using Java 5 update 11. Before recently, I simply used this version of Java for everything because it ran well enough. I run most things in Firefox or through Firefox using IE Tab, but occasionally I'll use IE itself, such as for this one system, because it tends to crash Firefox. (This computer is an HP laptop with Windows XP.)

Recently there was some sort of glitch with my install of Firefox that prevented any web access except local systems to run in native Firefox. Anything would run in IE tabs as usual, but not in native Firefox tabs. So I decided I had to upgrade Firefox from 3.0.whatever to 3.6.8, and that solved that problem. However, Firefox 3.6 and above will only recognize Java 6 and above.

So now I want to run Java 6 for Firefox and Java 5.11 for Internet Explorer, which will satisfy all requirements. The problem is that even when Java 5.11 is installed first, Java 6 overwrites it as the system version. Java 5 still exists as a user version, but Internet Explorer will no longer recognize that I have it installed. See screenshots of the User versions and the System versions tabs in the Java control panel settings, and the Java section of the advanced IE settings. This is with both versions installed. When I had only Java 5 installed, IE happily recognized it. The advanced setting said "Use JRE 1.5.0_11 for <applet> (requires restart)" instead of "Use JRE 1.6.0_21 for <applet> (requires restart)" as it does now.

How do I get Internet Explorer to use Java 5 instead of Java 6 while still allowing Firefox to use Java 6?
javauser.jpg
javasystem.jpg
iejava.jpg
0
Comment
Question by:telyni19
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
11 Comments
 
LVL 12

Author Comment

by:telyni19
ID: 33522992
As an additional piece of information, the Java 5 install actually asked me in the custom installation options which browsers I wanted to use it. I chose only Internet Explorer (although I could have enabled it for Firefox also, it wouldn't have done anything because Firefox 3.6 refuses to recognize the older versions).

However, the Java 6 install gave me no such options. There was no choice for a custom install or any options other than where to place the installation.
0
 
LVL 42

Expert Comment

by:David S.
ID: 33550991
The only solution I know of to use different versions of Java in different browsers is to use a virtual machine (VMware, MS Virtual PC, etc.).
0
 
LVL 12

Author Comment

by:telyni19
ID: 33559515
This is a work computer, so it wouldn't be convenient or practical to use a VM I don't think. Correct me if I'm wrong, but this would basically involve running two separate copies of windows simultaneously with one version of java active in each one. My computer is slow enough to start up without doubling its overhead.

The point I'm getting at is that both versions are still installed. They both show up in the add/remove programs list. They both show up in the user versions list. But somehow java 6 has overwritten java 5 as a system version, making java 5 inaccessible to Internet Explorer, and I need it not to do that. Why don't I get a choice?

Any other ideas?
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 42

Expert Comment

by:David S.
ID: 33593044
Since you're computer is already slow, then yes, you probably would not want to add the extra load of a VM.

> Why don't I get a choice?

Many software packages are not designed to have multiple versions installed on the same system. IE itself is the same way.

> Any other ideas?

Another option would be to find another computer and set up some kind of remote desktop (or VNC) server on it, so you could (indirectly) have access to both versions of Java on your workstation.
0
 
LVL 12

Author Comment

by:telyni19
ID: 33593087
The Java website itself says that while the latest version is recommended, it is possible to run multiple versions:

"You can also keep older versions of Java installed, in case you have an applet/application that still depends upon a previous version."
(http://www.java.com/en/download/faq/remove_olderversions.xml)

I do have an application that depends on a previous version.

Maybe this is too hard a question and I need to go directly to Java tech support.
0
 
LVL 42

Accepted Solution

by:
David S. earned 500 total points
ID: 33593134
In that case, some of the information on these two pages might be helpful to you. They seem to say how to control which version of Java will be used by applications.

http://stackoverflow.com/questions/71254/force-internet-explorer-to-use-a-specific-java-runtime-environment-install
http://forums.sun.com/thread.jspa?threadID=680063


> Maybe this is too hard a question and I need to go directly to Java tech support.

"Hard" isn't the word I'd use. It just requires very specialized knowledge.
0
 
LVL 12

Author Closing Comment

by:telyni19
ID: 33593183
That did it! And the actual solution, for the record, was really simple: just disable Java 6 as a user version. It stays active as a system version, so Firefox can use it, and then IE is somehow forced to use Java 5 as intended. It's not at all obvious that the interactions will work that way when the Java version can't be set from within IE directly, but I got the result I wanted and that's what matters. Thanks!
0

Featured Post

The Ultimate Checklist to Optimize Your Website

Websites are getting bigger and complicated by the day. Video, images, custom fonts are all great for showcasing your product/service. But the price to pay in terms of reduced page load times and ultimately, decreased sales, can lead to some difficult decisions about what to cut.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Several part series to implement Internet Explorer 11 Enterprise Mode
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question