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?
Asked
Active
Viewed 68 times
1
-
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 Answers
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
-
This didn't work, it still showed the same output, I tried restarting my computer and it still didn't work – Jul 15 '20 at 16:17
-
Does the output from the rm command indicate success or failure/error? – Woodchuck Jul 15 '20 at 16:34
-