Thus, the only package that needs to be removed is the SDK. I have compared the files found on a clean OS X 10.7 install (that does not include Java) and those found in that package, and they are all present and moreover, are identical in every way (v14.0.3). There are two packages that are found in the Java for Mac OS X 10.7 dmg, JavaEssentials and JavaForMacOSX107.
You can open the file up in Text Edit and remove the following lines: Note: Editing the install history plist file is better done by copying the plist to your desktop (as it owned by root and won't let you modify it), but make sure you restore the default ownership by running the following command: sudo chown root:admin ist
Then (for completeness), clean up the installer records by removing them from /private/var/db/receipts/: 107.bomĪnd lastly, we clear out any traces of the product installation from Software Update by editing the following plist file: ist, located in: /Library/Receipts/ Remove the following directory (which contains the file 1.6.0.jdk): /System/Library/Java/JavaVirtualMachines/ Removing all traces of Java, cleanly, from OS X Lion