Posted on 08-28-2018 08:37 AM
I just recently was on an install and had a user set up with Java 8 for development purposes. A half hour later he came to me saying the application wasn't working. He had upgraded it to Java 10. I've checked Oracle and it provided a series of steps to uninstall the application which I've done and restarted immediately after but the terminal still shows version 10 when verifying the versions. Here are the commands that I got from Java.com to attempt to remove.
sudo rm -fr /Library/Internet Plug-Ins/JavaAppletPlugin.plugin sudo rm -fr /Library/PreferencePanes/JavaControlPanel.prefPane sudo rm -fr ~/Library/Application Support/Oracle/Java
Posted on 08-28-2018 08:44 AM
You'll need to remove the JDK as well.
sudo rm -rf /Library/Java/JavaVirtualMachines/jdk<version>.jdk
Posted on 08-28-2018 10:58 AM
That worked brilliantly! Thanks!