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

/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?

share|improve this question

closed as too localized by Mark, 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.

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 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.

share|improve this answer

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.

share|improve this answer

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