Quick Answer: How Do I Uninstall Java on Ubuntu?

Quick Answer: How Do I Uninstall Java on Ubuntu?
Contents

How do I completely remove Java from Linux?

RPM uninstall

  1. Open Terminal Window.
  2. Login as the super user.
  3. Try to find jre package by typing: rpm -qa.
  4. If RPM reports a package similar to jre- -fcs then Java is installed with RPM. …
  5. 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).

Chloe Bennett
Author

Chloe Bennett

Chloe Bennett explores the intersection of pop culture, streaming entertainment, digital trends, and contemporary lifestyle. Her weekly commentary reaches thousands of culture enthusiasts.