Java

Java in Action Downloads Help Center

Installing Java

   

If I have two versions of Java on my machine running through RPM, how do I remove one of them?


This article applies to:
  • Platform(s):
    Sun Java Desktop System, Red Hat Linux, SUSE Linux
  • Browser(s):
    Netscape 6.2x, Netscape 7, Mozilla 1.4+


To uninstall a RPM installation, you need to know the package’s full name, version number, and release names. For example, to determine what versions of the Java Runtime Enviornment (JRE) are installed, do the following:
  1. Open new Terminal Window
  2. Type the following command:
    rpm -q jre
  3. This is the sample result returned by the query
    jre-1.5.0-fcs
    jre-1.5.0_04
  4. The result shows that there are two versions installed on the system: JRE 1.5.0 FCS and 1.5.0_04.
  5. If you want to uninstall 1.5.0-fcs, type the following command in the prompt:
    rpm -e jre-1.5.0-fcs



NEED MORE HELP?
If you require further assistance, please make sure you check through our Help and FAQ sections thoroughly. We probably have a page that answers your question.

You may find information on the following topics in the Help section:
Installation Instructions
Configuration
Error Messages
Applet Application




Help Resources
> Installing Java
> Configuring Java
> Error Messages
> Applet Application
> Legal

 

FAQ
> General Questions
> Java for Mobile Devices

 

Select Language | Java Wear | Newsletter | About Java Technology | Partner with Us
Privacy | Terms of Use | Trademarks | License | Disclaimer | Contact

Sun Microsystems