
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:
- Open new Terminal Window
- Type the following command:
rpm -q jre
- This is the sample result returned by the query
jre-1.5.0-fcs
jre-1.5.0_04
- The result shows that there are two versions installed on the system: JRE 1.5.0 FCS and 1.5.0_04.
- If you want to uninstall 1.5.0-fcs, type the following command in the prompt:
rpm -e jre-1.5.0-fcs
|
|