If I do so, will something, such as a service, break?
MacOS – safely remove /usr/bin/java from Mountain Lion 10.8.2
javamacosSecurity
Related Question
- MacOS – Enabling Java 7 on Mountain Lion
- MacOS – Mountain Lion with Java 7 only
- MacOS – Mountain Lion 10.8.2, Java Preferences has disappeared
- MacOS – Java Plugin for Chrome on OS X Mountain Lion 10.8.2
- MacOS – Java on Mountain Lion 10.8.2 pitfalls
- MacOS – Can I change 10.8.2 Mountain Lion window corners from rounded to squared
- How does /usr/bin/java work on Mac
Best Answer
Mac App Store apps and OS X core applications and services don't depend on Java, but some 3rd party applications (like LibreOffice) do, and they will break if you delete
/usr/bin/java
.Since
/usr/bin/java
is a symlink:if you notice that an application complains about missing Java or fails to start after deleting
/usr/bin/java
simply recreate it like this:Open Applications>Utilities>Terminal
Make the symlink (type your password if asked):