/System/Library/Framework/JavaVM.framework and /System/Library/Java have been deleted from my disk. I thought of making things back to normal by running the last Apple Java update (Java for OS X Lion 2012-003 as of this writing) but unfortunately I'm facing the following error message:

A newer version of this package is already installed.

I still have java from oracle but I'd like to have the official one as well.

Any idea how I could get over this error message and proceed the install?

closed as too localized by user151019, bmike Apr 14 '13 at 15:59

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 3
    How did that happen? – Thilo Oct 29 '12 at 11:39
  • I had the same exact problem. This is the apple directory for the OS X related Java installation files and prerequisites. I ended up installing OS X java package from support.apple.com/kb/DL1572?locale=en_US. After doing that installing newer versions of Java was possible. – AmirHd Jul 13 '15 at 14:25

Ended up to reinstall Lion using Recovery. Data/Applications are kept even no need of a backup and then Java install prompted again on 1st usage.


I would install the Oracle Java 7 as it is a complete separate install, and would work even if you deleted its parts. Also Apple have stopped doing new versions of Java and left this to Oracle as occurs on other OSs.

Not the answer you're looking for? Browse other questions tagged .