Super User is a question and answer site for computer enthusiasts and power users. 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

I have tried repeatedly to install the Oracle java runtime (Java 7 update 9) on my mac, but it doesn't work. I should just be able to download it from oracle, mount the disk image, and click to install. Where is the preference pane icon that it promises will show up in the "Other" section of my preferences, and why does java -version keep telling me it is the old version?

share|improve this question

migrated from Nov 13 '12 at 8:21

This question came from our site for professional and enthusiast programmers.

up vote 3 down vote accepted

I'm answering my own question because this took me hours to figure out, and I can't find the information anywhere else. In short, it does work, but not correctly.

The first problem, no preference pane, is because Oracle is not testing on a CASE-SENSITIVE mac system. The preference pane /Library/PreferencePanes/JavaControlPanel.prefPane is a link to the actual preference pane, supposedly /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib/deploy/JavaControlPanel.prefpane (note the lower case .prefpane). If you go look, the name is really JavaControlPanel.prefPane. This was a capital Pane to figure out :) Just change the link:

sudo ln -sf /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib/deploy/JavaControlPanel.prefPane /Library/PreferencePanes/JavaControlPanel.prefPane

The second problem appears to be more my fault. Installing the java 7 SE jdk and not just the runtime fixed this.

PS: I'm still amazed that Apple would just delete programs from your computer with a minor upgrade. Much of the information on managing Java on your mac is now outdated (with the loss of the java preference app from the /Applications/Utilities folder).

share|improve this answer
Followed the step, still I don't see it in /Applications/Utilities – Mutant Feb 19 '14 at 4:05

You must log in to answer this question.

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