Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 02-22-2009, 03:30 PM   #1
LQ Newbie
Registered: Oct 2006
Posts: 5

Rep: Reputation: 0
Redhat 5 and java problem

Hi All.
I have Linux Redhat 5 machine at my work. Default java of this linux version is 1.4.2
To run my application i need java 1.5
I performed installation of ibm-java2-i386-jre-5.0-9.0.i386.rpm. After installation i checked java version again and still getting 1.4.2
As i performed default rpm installation, i don't know the new java location.
Can any body help me to define new java to be default java on my machine.

Thanks Koby.
Old 02-22-2009, 06:34 PM   #2
Senior Member
Registered: Dec 2007
Location: Croatia
Distribution: Debian GNU/Linux
Posts: 1,733
Blog Entries: 5

Rep: Reputation: 127Reputation: 127
I don't know will the package ibm-java2-i386-jre-5.0-9.0.i386.rpm give you what you want because I never used it.I use Sun's jre which you can download from here (the latest version is Java Runtime Environment (JRE) 5.0 Update 17) if maybe that's what you'll need.
You can try to change default version of jre on the system with this command;
/usr/sbin/alternatives --config java
Maybe a few more steps will be necessary to change default version of jre but only if the above command gives you any error/s.


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
Problem installing JAVA on redhat mrouble Linux - Software 3 01-24-2009 09:51 AM
Problem with PNG image in Java on Redhat Shariq Mustaquim Linux - Software 2 06-24-2005 07:37 AM
problem running java on redhat enterprise ws 3 wellblue88 Linux - Software 3 10-20-2004 05:36 PM
Java in Redhat. Peleus Programming 4 04-05-2004 02:26 PM
java in redhat 8 key_maker Linux - Software 1 10-02-2003 07:23 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:39 AM.

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