Situatie
Solutie
If you are going to reinstall Java, 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/libnpjp2.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/libnpjp2.so
- You will be prompted to remove symbolic link:
rm:/usr/lib/mozilla/plugins/libnpjp2.so
? - Type: Y
There are two ways to uninstall Java. Please use the method that you used when you installed Java. For example, if you used RPM to install Java, then use the RPM uninstall method.
RPM uninstall
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–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.
- To uninstall Java, type:
rpm -e jre--fcs
Self-extracting file uninstall
- Find out if Java is installed in some folder. Common locations are
/usr/java/jre_
or/opt/jre_nb/jre_/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 jre
For example:rm -r jre1.7.0
- Find out if Java is installed in some folder. Common locations are
Leave A Comment?