This is an alternative method to the above. If you have no knowledge about Command line, then I would recommend you to go with the manual method mentioned above. But if you have good knowledge of command line and Terminal, then you can go with this method. This is for advanced users, but beginners can also learn this. In this method you have to first open the Terminal and enter few commands.
![Download Download](https://java.com/ga/images/en/mac_install_package.jpg)
![Java Jre 1.5 For Mac Java Jre 1.5 For Mac](http://code2care.org/pages/java-jre-installation-location-mac-os-x-10-10-yosemite-error/images/Add%20JRE%20installation%20location.png)
Many users install Java on their Mac to support several applications. But sometimes it happens that users don’t need Java on their computer and they want to uninstall it from their system just because it’s an old version or due to some other reasons.
I will show you how to do that below. For this it will also prompt you for an admin password, so make sure that you have admin privileges before you proceed with this method. Let's proceed and follow each steps mentioned below properly:- 1. Open Finder from the Dock as shown below in the image. Once the Terminal is launched, enter the following commands one by one:- sudo rm -fr /Library/Internet Plug-Ins/JavaAppletPlugin.plugin sudo rm -fr /Library/PreferencePanes/JavaControlPanel.prefPane sudo rm -fr ~/Library/Application Support/Java 5. You will be prompted for admin password. Put your password and press Enter key.
Once you are done with all the 5 steps mentioned above you have successfully done the uninstallation. Do let me know through comments how this post has helped you. Don't forget to subscribe to my email list and if you like this post then do give us a +1 and a Facebook like. You can also share this post with your friends and let them know so that they can also enjoy Mac on their PC.