Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

If I do so, will something, such as a service, break?

share|improve this question
It's safe provided you also remove any plist in Application Support and Preferences folders that reference /usr/bin/java. – Global nomad Feb 16 '13 at 1:29
Why would you need/want to remove it? – MattDMo Feb 16 '13 at 3:08

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:

/usr/bin/java -> /System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/java

if you notice that an application complains about missing Java or fails to start after deleting /usr/bin/java simply recreate it like this:

  1. Open Applications>Utilities>Terminal

  2. Make the symlink (type your password if asked):

    $ sudo ln -s /System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/java /usr/bin/java
share|improve this answer
However removing just /usr/bin/java will not add to any form of security as many apps use the /System/.../java path – Mark Mar 7 '13 at 14:21
It is still unclear why the OP wants to remove /usr/bin/java, but if it is security related and many apps use the /System/Library/... path as you say (could you provide some more information about that? is it an Apple recommendation?), then no, it won't increase security much. – jaume Mar 8 '13 at 17:26

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.