Created
October 8, 2016 13:26
-
-
Save schnell18/bcb9833f725be22f6acd01f94b486392 to your computer and use it in GitHub Desktop.
MacOS X remove Java 9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo rm -fr /Library/Java/JavaVirtualMachines/jdk-9.jdk/ | |
sudo rm -fr /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin | |
sudo rm -fr /Library/PreferencePanes/JavaControlPanel.prefPane | |
Works like a charm!
Many Thanks!!!
Thanks :)
Awesome. Thanks a lot.
sudo rm -fr /Library/Java/JavaVirtualMachines/jdk-9(your version).jdk
thanks for help!
You sir are a LEGEND!
in Turkish we say "ADAMSIN"
Thank you so much!
According to this you can also remove sudo rm -fr ~/Library/Application\ Support/Oracle/Java
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Cheers, this saved me a hassle of reverting back to an older Java version.
I ended up installing java via homebrew
brew tap caskroom/versions
thenbrew cask install java8
more herehttps://www.lonecpluspluscoder.com/2017/10/08/installing-other-versions-of-the-java-jdk-via-homebrew/
and adding it to JAVA_HOME similar to others here.