OS X Lion ships without Java now. Installing it is not very difficult - however, our product relies on Java so we need to test the scenario of not having Java installed.
Once I've installed Java, is there any way to uninstall it from Lion?
|
|
|
I followed the instructions followed in this blog and they worked for me. The steps are as follows:
|
|||||||
|
|
I don't know about uninstalling Java, but since Lion now permits virtualization another option is just to run another instance of Lion in a VM and don't install Java on it. This can also be used to test other configurations that you might run into. |
|||||||
|
|
You could always just make a clean install of Lion for test purposes, either on an extra partition or in virtualization. You could also use the Java .pkg file to obtain a list of installed files. |
|||
|
|
|
A procedure for uninstalling Java in Leopard is outlined in
|
|||
|
|
|
The -uninstall option does not work anymore, it is not present. To remove java on my Mac I checked ... http://www.java.com/en/download/help/mac_uninstall_java.xml I could not find Java through the user interface so I suggest to use the command lines option 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 |
|||
|
|