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?
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.
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.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.