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+ - JRE version(s):
1.5.0
The uninstallation process consists of:
- Java Plug-in Uninstallation
- Java Runtime Environment (JRE) Uninstallation
I. Java Plug-in Uninstallation: Mozilla browser
If you are going to reinstall JRE, you don't need to uninstall Java Plug-in. Just use the -f option for ln when creating a new symbolic link.
Example:
ln -f /usr/lib/mozilla/plugins/libjavaplugin_oji.so
If you want to completely remove Java from your Linux box, the procedure of removing the symbolic link is described below.
- Open Terminal Window,
- Log in as the super user
- Type: rm /usr/lib/mozilla/plugins/libjavaplugin_oji.so
- You will be prompted:
rm: remove symbolic link `/usr/lib/mozilla/plugins/libjavaplugin_oji.so' ?
- Type: Y
II. JRE Uninstallation
There are two ways to uninstall the JRE. Please use the method that you
used when you installed the JRE. For example, if you used RPM to
install the JRE, then use the RPM uninstallation method.
- 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.
- Open Terminal Window
- Login as the super user
- Try to find jre package by typing: rpm -qa
- If RPM reports a package similar to jre-<version>-fcs, then Java is installed with RPM.
Note: Normally, you do not need to uninstall JRE with RPM,
because RPM is able to uninstall the old JRE when installing a new
version! You may skip reading, unless you want to remove JRE
permanently.
- To uninstall the JRE, type: rpm -e jre-<version>-fcs
- Self-extracting file uninstallation
- Find out if Java is installed in some folder. Common locations are /usr/java/jre_<version> or /opt/jre_nb/jre_<version>/bin/java/
- When you have located the folder, you may delete folder.
Warning: You should be certain that Java is not already installed using RPM before removing the folder. - Type: rm -r name. For example: rm -r jre1.5.0
(iwgh) |