Contents
How do I completely remove Java from Linux?
RPM uninstall
- 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. …
- To uninstall Java, type: rpm -e jre- -fcs.
How do I uninstall and reinstall Java on Ubuntu?
java-reinstall.sh
6.0_34/bin/pack200 remove the directory that is parent of bin, like this: sudo rm -rf /path/to/jre1. 6.0_34. #The next 2 commands must be type excatly perfectly to avoid permanently destroying your system. #To uninstall OpenJDK (if installed).