1

so I am on a mac and I wanted to remove java, as I do not need it on my computer. I have seen this and it doesn't work: the version I wanted to remove still came up when I typed java -version or java --version and I don't think this should come up. Is there anyway to solve this?

  • Did you try the [official documentation](https://www.java.com/en/download/help/mac_uninstall_java.xml) ? – totok Jul 15 '20 at 14:23

1 Answers1

0

Best way is to run the remove command (rm) as root or by using sudo (as opposed to removing Java tools from /usr/bin, which you should not do).

The specific steps are shown here on Oracle's site.

Woodchuck
  • 3,869
  • 2
  • 39
  • 70