Wednesday, October 10, 2012

Uninstall Oracle Java 7



Uninstalling the JRE

To uninstall the JRE, you must have Administrator privileges and execute the remove commands either as root or by using the sudo(8) tool.
Remove one directory and one file (a symlink), as follows:
  • Navigate to /Library/Internet Plug-Ins and remove the JavaAppletPlugin.plugin directory.
  • Navigate to /Library/PreferencePanes and remove JavaControlPanel.prefpane.
Do not attempt to uninstall Java by removing the Java tools from /usr/bin. This directory is part of the system software and any changes will be reset by Apple the next time you perform an update of the OS.

How do I uninstall Java 7 and restore Java 6 for my Mac?


This article applies to:
  • Platform(s): Macintosh OS X
  • Java version(s): 7.0

Uninstall Oracle Java 7
Following the steps listed will uninstall Oracle Java 7 from your system.
Note: To uninstall Java 7, you must have Administrator privileges.
  1. Click on the Finder icon located in your dock
  2. Click on Applications tab on the sidebar
  3. In the Search box enter JavaAppletPlugin.plugin
  4. This will find the JavaAppletPlugin.plugin file
  5. Right click on JavaAppletPlugin.plugin and select Move to Trash
Restore Apple's Java after uninstalling Oracle Java 7
If you find an issue using Java 7 and would like to continue using Apple's Java on your Mac, you will need to first uninstall Java 7, then restore Apple's Java
Note: To restore Apple's Java, you must have Administrator privileges and execute the command either as root or by using sudo.
  1. Click on the Finder icon located in your dock
  2. Click on Applications tab on sidebar
  3. Click on the Utilities folder
  4. Double-click on the Terminal icon
  5. In the Terminal window Copy and Paste the command below:
    sudo ln -s /System/Library/Java/Support/CoreDeploy.bundle/Contents/JavaAppletPlugin.plugin /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin

MORE TECHNICAL INFORMATION 

Alternative method to Uninstall Oracle Java 7 using the Terminal
This is an alternative method for uninstalling Java 7 for advanced users familiar with entering commands on Terminal window.
Following the steps listed will uninstall Oracle Java 7 from your system.
Note: To uninstall Java 7, you must have Administrator privileges and execute the remove command either as root or by using the sudo.
  1. Click on the Finder icon located in your dock
  2. Click on Applications tab on sidebar
  3. Click on the Utilities folder
  4. Double-click on the Terminal icon
  5. In the Terminal window Copy and Paste the command below:
    sudo rm -fr /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin

http://docs.oracle.com/javase/7/docs/webnotes/install/mac/mac-jre.html


http://java.com/en/download/help/mac_uninstall_java.xml


No comments:

Mimmo97 Blog Archive