How to Uninstall/Downgrade Java on Mac?

I have been following the Oracle documentation instructions to uninstall Java 1.8 from my Mac as it has compatibility issues with Android Studio and I would like to downgrade to Java SE 1.7.

As per these instructions, Uninstall Oracle Java using the Terminal

Note: To uninstall Java, you must have Administrator privileges and execute the remove command either as root or by using the sudo. Remove one directory and one file (a symlink), as follows: Click on the Finder icon located in your dock Click on the Utilities folder Double-click on the Terminal icon In the Terminal window Copy and Paste the command below:

sudo rm -fr /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin  sudo rm -fr /Library/PreferencePanes/JavaControlPanel.prefpane 

I have followed these instructions and entered those commands. The Java icon disappeared from the system preferences, so I proceeded to install Java 1.7.

After the installation finished a Java icon re-appeared in the system preferences, but when I ran the command javac -version in terminal it said the version was still 1.8 not 1.7 as I installed.


Category: osx Time: 2016-07-28 Views: 0

Related post

  • How to uninstall software on a Mac 2010-05-23

    I am using a MacBook Pro running Mac OS X 10.5. I am new to this development environment, and previously worked on Windows. For the software I installed, how can I uninstall them? I did not find something like the Add/Remove programs function of the

  • How do I downgrade Java on OSX 10.6.8? 2012-01-26

    Software Update recently updated Java with update 6, for my 10.6.8 installation. My problem is that my bank here in Costa Rica uses a dated version of Java, and now my version of Safari (5.0.5) acts wonky when the Java applet for accessing my bank ac

  • How Can I install Java on mac 2013-08-10

    This question already has an answer here: How safe is it for me to install Java on OS X 10.8 3 answers I want to install java plug-in in firefox . I read that installing java plug-in is not secure. EDIT1 : Can anyone please tell me why java installat

  • How to downgrade Java. For example Java 7u72 to 7u67 2014-12-22

    How can I downgrade java 7 to update 67 as suggested by this Check Point issue? I need this to install Check Point VPN. I have to install Java 7u67. How can I do it? How can I install specific version of Java. Now I have Java 8u25 and Java 7u72 when

  • How to downgrade Java version 1.6.0_36 to 1.6 2015-12-05

    I am trying to compile the Android source code version 4.2 in my Ubuntu 14.04. The compilation step is unsuccessful throwing following in terminal. Your version is: java version "1.6.0_36". The correct version is: Java SE 1.6. So, how can I down

  • Can you downgrade Java on a Mac? 2009-07-06

    I'm testing Snow Leopard for our IT team in preparation for it's actual launch. I'm currently running seed 10A394, which comes with Java JDK 1.6. I found one Java desktop application that no longer runs under Snow Leopard, the app won't even start. T

  • How can I downgrade the OS on a Mac to the original one it came with? 2011-01-18

    If I buy a mac with OS X 10.6.5, and then I upgrade it to OS X 10.6.6, how can I downgrade it back to OS X 10.6.5? I don't mind having to reinstall the entire operating system if necessary. Could this same method also be used if I upgrade to OS X Lio

  • How to uninstall java from sco openserver 5.0.6? 2012-01-13

    I have installed Java (J2SE 1.3.1_21) by following this tutorial: Now, I want to uninstall it. How can I do that? --------------Solutions------

  • How can I uninstall oracle java 8 and install oracle java 7 instead with webupd8 installer? 2014-03-13

    I installed oracle java 8 by typing in terminal: sudo add-apt-repository ppa:webupd8team/java sudo apt-get update sudo apt-get install oracle-java8-installer but now I want to uninstall oracle java 8 and install oracle java 7 instead with sudo apt-ge

  • How to uninstall Java version 1.4 2014-11-25

    I would like to asks a question about how to uninstall my old version of java(1.4.2_06) if it is not shown in add/remove in control panel? I'm using windows xp. I already uninstalled all my java that are in version 1.4 and I installed a latest versio

  • How to fire appium command in terminal using java in Mac? 2016-02-17

    I wanted to start appium server programatically using java in Mac. I am able to open terminal with following code: String cmd= "osascript -e \"tell app \\\"Terminal\\\" to activate\""; List<String> command1=new ArrayLis

  • how to set default java plug-in version 2010-06-02

    I can set the jre version from the Control Panel -> Java -> Java Runtime Environment Settings. But I cannot figure out how to change the Java Plug-in Version. I would like to use an earlier java plug-in version, like 1.5.0_12. How can I do that? Tha

  • How can I downgrade Python or use many versions? 2011-04-22

    I want to use Mozilla Jetpack & Google App Engine which supports only up to Python 2.6 & 2.5 respectively. So I think I will have to install 2.5. Ubuntu comes with 2.6.6 I think Ubuntu 11 comes with 2.7? How might I downgrade or install separate P

  • How to install Oracle Java web plugin on Chrome in 12.04? 2011-08-07

    I want to install Oracle's JRE and to update to the latest version with the Software Updater when they released. Is there a Ubuntu package that is provided by Canonical or Oracle? Before release Java 7, I followed this way to install Java 6. But it d

  • How do you install Java Runtime 64bit on 12.10? 2011-08-07

    I want to install Oracle's JRE and to update to the latest version with the Software Updater when they released. Is there a Ubuntu package that is provided by Canonical or Oracle? Before release Java 7, I followed this way to install Java 6. But it d

  • How can I downgrade Windows 7 Ultimate to Home Premium? 2011-12-25

    How can I downgrade from Windows 7 Ultimate to Home Premium without reinstalling Windows? I want to use a Home Premium key and uninstall the Ultimate features. How can I do this? --------------Solutions------------- You cannot downgrade editions. You

  • How to uninstall VMware Player 4.0.3 on 12.04? 2012-05-06

    I installed VMware Player 4.0.3 on Ubuntu 12.04. When I try to run an image, I get errors such as "/usr/lib/vmware/settings": No such file or directory. or "~/.vmware/config": No such file or directory.. I tried patching it but I get u

  • How can I downgrade an iMac12,1 from Lion to Snow Leopard? 2012-05-31

    I purchased a refurbished iMac "originally released May 2011" from Apple ( ), hoping it'd still have Snow Leopard on it. Ended up having Lion on it. My Googling says it originally came with 10.6.6, so i

  • How can I disable Java in my browser? 2012-08-28

    A new Java 0-day exploit was discovered on 2012-08-26, and is out in the wild. It affects Oracle's Java on Windows, Mac and Linux desktops and affects all major browsers. Plenty of websites recommend that users disable Java in the browser. However, I

iOS development

Android development

Python development

JAVA development

Development language

PHP development

Ruby development


Front-end development


development tools

Open Platform

Javascript development

.NET development

cloud computing


Copyright (C), All Rights Reserved.

processed in 0.726 (s). 13 q(s)