Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have to install jre1.5.0_10 but jre1.6.0_16 is already installed.

How can i remove jre1.6.0_16. The application i am try to access requires jre1.5.0_10.

Please Help

share|improve this question

Be careful about removing the 1.6 version. It may be needed for something else.

You can retrieve legacy version of Java 1.5 from:

Get the self-extracting file rather than the RPM version.

Extract it to somewhere like /opt/java

Now you have something like /opt/java/sun_jre_1.5_10, set your JAVA_HOME to that and run the your app from /opt/java/sun_jre_1.5_10/bin/java -jar <appname> or set your path to get the java from here rather than /usr/bin/java.

I'd also recommend that you try your app with the latest 1.5 release which is 21. Note that 1.5 went End of Service Life (EOSL) in October 2009 unless you have extended support.

share|improve this answer

you do not have to remove jre1.6, you can install jre1.5 additionally and set JAVA_HOME for your application to the path of your jre1.5 installation.

share|improve this answer
How it is rpm.bin package – Muahmmad Zeeshan Jan 27 '10 at 9:35

Thank You I found some thing on while doing some RND. I removed the RPM package using following steps

Uninstalling RPM packages

a. RPM uninstallation

Note: If you have RPM on your Linux box, you should first find out if Java is already installed using RPM. If Java is not installed using RPM, you should skip reading. 1. Open Terminal Window 2. Login as the super user 3. Try to find jre package by typing: rpm -qa 4. If RPM reports a package similar to jre--fcs, then Java is installed with RPM.

Note: Normally, you do not need to uninstall Java with RPM, because RPM is able to uninstall the old version of Java when installing a new version! You may skip reading, unless you want to remove Java permanently. 5. To uninstall Java, type: rpm -e jre--fcs

I have successfully uninstall the jre1.6.0_16.

Thank You for all your help.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.