Skip to main content
Question

Roll Back from Java 10 to Java 8

  • August 28, 2018
  • 2 replies
  • 3 views

Forum|alt.badge.img+2

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

2 replies

Forum|alt.badge.img+13
  • Contributor
  • August 28, 2018

You'll need to remove the JDK as well.

sudo rm -rf /Library/Java/JavaVirtualMachines/jdk<version>.jdk


Forum|alt.badge.img+2
  • Author
  • New Contributor
  • August 28, 2018

That worked brilliantly! Thanks!