Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Upgrade java

Status
Not open for further replies.

lamsf

Technical User
Jul 27, 2003
103
US
I hv a Redhat linux server with java 1.4.2 installed.
I would like to upgrade the java to 1.5.0_11 but hv no idea how to do that.
Anyone can guide me how I can upgrade the java to 1.5.0_11 from 1.4.2?

Thanks a lot!!
 
What version of Red Hat is it? You may find that there is only one version of Java officially supported by Red Hat for that particular version of the OS, and that they only supply RPMs for that particular version.

However there is nothing stopping you from obtaining another newer version of Java and installing it in another location yourself. Any software that requires the newer version will simply need to have the JAVA_HOME variable defined correctly to point to the newer version.

Annihilannic.
 
Hi Annihilannic,

Following is the Redhat version:

# uname -a
Linux wmxlnx1.localhost 2.6.9-5.ELsmp #1 SMP Wed Jan 5 19:30:39 EST 2005 i686 i6
86 i386 GNU/Linux

# cat /etc/redhat-release
Red Hat Enterprise Linux AS release 4 (Nahant)

Do you think it will support Java 1.5.0_11?

Is there any document which details the upgrade procedure for java?

Thanks a lot!
 
It doesn't really need to be compatable with the OS if you just need it for one app.

If you go here, you can select whatever version you need...


Once you select the version, select whether you want JDK or JRE, and agree to the license, then you can select either an rpm or a self extracting version. Select the self extracting version.

This will let you put it anywhere you want. Even your home directory if you so desire. Then you just define [tt]JAVA_HOME[/tt] to the directory you installed it to. Your app should use that version when run.

Use the rpm version only if you want the whole machine to use that version. I believe you will have to remove the old version before installing the new.

There are instructions on the Sun site you get it from.

Hope this helps.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top