Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 stackoverflow.com Nov 13 '12 at 8:21

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

add comment

1 Answer 1

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 at 4:05
add comment

Your Answer

 
discard

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.