LinuxQuestions.org
Help answer threads with 0 replies.
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, 09: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, 02:28 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154
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, 06: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 07:10 PM
Java1.5 [64bit] for AMD manoj142 Linux - Software 1 10-29-2005 09:46 AM
Java1.4.2 [64 bit] manoj142 Linux - Software 3 10-27-2005 03:09 AM
Java1.4.2 64 bit License problem on AIX5.1 manoj142 Linux - Software 1 10-21-2005 06:21 PM
java1.4.2 [32bit] manoj142 Linux - Software 1 10-20-2005 10:21 AM


All times are GMT -5. The time now is 02:49 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration