LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS
User Name
Password
CentOS This forum is for the discussion of CentOS Linux. Note: This forum does not have any official participation.

Notices


Reply
  Search this Thread
Old 05-03-2015, 04:55 AM   #1
johnsfine
LQ Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197
How to install obsolete Java and Firefox on Centos 7


My employer has a web application I need to use from home, that only works with a specific obsolete version of Java and range of obsolete versions of Firefox.

It must be used in the main OS, not a virtual machine.

I use Java in Firefox for other purposes that depend on having more recent versions, so I want to somehow install the obsolete ones as extra copies, not as the defaults.

I'm still trying to find out the exact Java version I'm required to use and the "any version before" rule for Firefox. But once I have that info, I don't know how to get two different versions to coexist.

Another employee (using a different Linux) uses SeaMonkey instead of Firefox for the obsolete version. Would that make sense on Centos 7?
 
Old 05-03-2015, 06:07 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
You can have as many java versions as you want, installed at the same time.
Use the /etc/alternatives/ mechanism to switch java version.
Example :
# /usr/sbin/alternatives --install /usr/bin/java java /usr/java/jdk1.6.0_37/bin/java 2
Select :
# /usr/sbin/alternatives --config java


You can also have several versions of firefox, seamonkey.
Example :
$ cd /usr/local/
# mkdir 3 && cd 3/
# tar xvf firefox-3***.tar.gz
# cd /usr/local/bin/
# ln -s /usr/local/3/firefox/firefox firefox3
... Close all running firefox.
And save your current ~/.mozilla settings to a backup ( backup folder/.)
Start the old firefox with $ firefox3

-
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Uninstall all version of Java and install Java 1.6 (CentOS VPS) HGArts Linux - Newbie 5 07-19-2012 05:13 PM
[SOLVED] Unable to use Java Applets in Firefox using CentOS 5.8 j.smith1981 Linux - Software 3 04-12-2012 05:08 PM
[SOLVED] Getting Java plugin to work on CentOS 5 Linux with Firefox 3.6.x MensaWater Linux - Software 7 02-27-2012 08:50 PM
Java Applets not showing in Firefox Centos 5.7 j.smith1981 Linux - Software 1 12-11-2011 08:00 PM
CentOS 4.2 Java and Firefox winchester169 Linux - Software 1 12-01-2005 12:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS

All times are GMT -5. The time now is 05:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration