LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-03-2011, 08:48 AM   #1
srilu
LQ Newbie
 
Registered: Aug 2011
Posts: 6

Rep: Reputation: Disabled
Updating java1.4 to java1.6 on RHEL


Hello friends,

This is srilu, new member of this forum. I am having java updating problem on RHEL.

existing version java version "1.4.2_11"

Installed jre-6u26-linux-i586-rpm.bin.

Still i am getting java version "1.4.2_11".

Could you please help me in solving this problem?

Thanks,
Srilu
 
Old 08-03-2011, 01:28 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,698

Rep: Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291Reputation: 3291
Welcome to LQ.

1) su
2)
/usr/sbin/alternatives --install /usr/bin/java java /usr/java/jdk1.6.0_26/bin/java 2

3) /usr/sbin/alternatives --config java
.. And then select the new "jdk".

..
 
1 members found this post helpful.
Old 08-04-2011, 05:00 AM   #3
srilu
LQ Newbie
 
Registered: Aug 2011
Posts: 6

Original Poster
Rep: Reputation: Disabled
Smile Hi

Thanks a lot.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems upgrading java1.4.2 to java1.5 / java5 jantman Linux - Software 2 11-20-2006 06:10 PM
Java1.5 [64bit] for AMD manoj142 Linux - Software 1 10-29-2005 08:46 AM
Java1.4.2 [64 bit] manoj142 Linux - Software 3 10-27-2005 02:09 AM
Java1.4.2 64 bit License problem on AIX5.1 manoj142 Linux - Software 1 10-21-2005 05:21 PM
java1.4.2 [32bit] manoj142 Linux - Software 1 10-20-2005 09:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:34 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration