I was able to unistall jdk 8 in mavericks successfully doing the following steps:
- Mac Java Download
- Java For Mac Mavericks Installer
- Java For Mac Mavericks Download
- Java For Mac Mavericks High Sierra
When I upgrade to Mavericks, it uninstalls Java 1.6. I can install Java 7, but for some applications and development work, I still need access to Java 6. How can I reinstall Java 6 in Mavericks? Apple docs generally recommend downloading Java directly from Oracle, but I don't see a Mac version listed on the Oracle download page for Java SE 6. This page shows you, step by step, how to convert a simple Java application to a version you can distribute on a Mac. To follow along, download the ButtonDemo (.zip) example from the Java Tutorial. This example was created using NetBeans which uses the Ant utility. You can run all necessary tools and make all necessary edits from the command line, without launching NetBeans.
sudo rm -rf /Library/Java/JavaVirtualMachines/jdk.jdk
sudo rm -rf /Library/PreferencePanes/JavaControlPanel.prefPane
sudo rm -rf /Library/Internet Plug-Ins/JavaAppletPlugin.plugin
sudo rm -rf /Library/LaunchAgents/com.oracle.java.Java-Updater.plist
sudo rm -rf /Library/PrivilegedHelperTools/com.oracle.java.JavaUpdateHelper
sudo rm -rf /Library/LaunchDaemons/com.oracle.java.JavaUpdateHelper.plist
sudo rm -rf /Library/Preferences/com.oracle.java.Helper-Tool.plist
Source : http://stackoverflow.com/questions/19039752/removing-java-8-jdk-from-mac
Source : Mac OS X and multiple Java versions
install an additional java on MacOS? I installed jdk8 and that works fine. but now I need a jdk7 installation for development purposes. When trying to install the old version via DMG file, i get a warning, that there is already a newer version of java installed and the installer quits.
Solution:
The cleanest way to manage multiple java versions on Mac is to use Homebrew
.
And within Homebrew
, use:
Reasons to consider GeForce 9600 GT Mac Edition75 watts lower power draw. Nvidia 9600 for mac windows 10.
homebrew-cask
to install the versions of javacommand : brew update && brew cask install java
jenv
to manage the installed versions of java
As seen on http://hanxue-it.blogspot.ch/2014/05/installing-java-8-managing-multiple.html , these are the steps to follow.
- install homebrew
- install homebrew jenv
- install homebrew-cask
- install a specific java version using cask (see 'homebrew-cask versions' paragraph below)
- add this version for jenv to manage it
- check the version is correctly managed by jenv
- repeat steps 4 to 6 for each version of java you need
homebrew-cask versions
Add the 'caskroom/versions' tap to homebrew using:
Then you can look at all the versions available:
Then you can install the version(s) you like:
And add them to be managed by jenv as usual.
I think this is the cleanest & simplest way to go about it.
Another important thing to note, as mentioned in Mac OS X 10.6.7 Java Path Current JDK confusing :
For different types of JDKs or installations, you will have different paths
On Mac OS X Mavericks, I found as following:
Mac Java Download
1) Built-in JRE default: /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home
Java For Mac Mavericks Installer
2) JDKs downloaded from Apple: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/
3) JDKs downloaded from Oracle: /Library/Java/JavaVirtualMachines/jdk1.8.0_11.jdk/Contents/Home
Java For Mac Mavericks Download
Resources
Java For Mac Mavericks High Sierra
- 'brew tap' explainedhttps://github.com/Homebrew/homebrew/blob/master/share/doc/homebrew/brew-tap.md
- 'brew versions' explained Homebrew install specific version of formula? and alsohttps://github.com/Homebrew/homebrew-versions
- 'cask versions', similar to 'brew versions', see https://github.com/caskroom/homebrew-versions and also https://github.com/caskroom/homebrew-cask/issues/9447