Alexj55

Q: Java SE 6 Runtime unavailable on Mountain Lion

I bought OS X Mountain Lion from the App Store today (previously on Lion 10.7.4) and it downloaded and installed itself apparently without issue. However, when I checked back on my machine (Mid 2011 MacBook Pro) after letting it boot up properly I had a message telling me that I needed to install the Java SE 6 Runtime environment - so, I click yes and wait for it to find and install the software, only for it to fail and complain that the software is currently unavailable.

 

I've tried using the Applications > Utilities > Java Preferences application; I've tried going in to the terminal and typing 'java -v'; I've tried rebooting (and shutting down, then turning back on again); I've tried using Disk Utility to verify the disk - all to no avail: I keep getting the same outcome. I've had a look on the Java website to see if I could get the software there, but it just tells me to use the Apple Software Update feature. Sadly, I can't use the Software Update feature, as it takes me to the Mac App Store now (which doesn't work either, as it complains about being unable to verify its connection with itself).

 

Anyone got any clue how to solve this? I've looked at other threads here and also browsed other sites, but the only solutions suggested were the ones I listed above.

 

Thanks.

MacBook Pro, OS X Mountain Lion

Posted on Jul 25, 2012 11:38 AM

Close

Q: Java SE 6 Runtime unavailable on Mountain Lion

  • All replies
  • Helpful answers

first Previous Page 3 of 4 last Next
  • by Carlo TD,

    Carlo TD Carlo TD Oct 21, 2012 9:06 PM in response to D. Rackerby
    Level 3 (558 points)
    Oct 21, 2012 9:06 PM in response to D. Rackerby

    why not just delete the Java Preferences in your utility folder?

  • by D. Rackerby,

    D. Rackerby D. Rackerby Oct 21, 2012 9:35 PM in response to Carlo TD
    Level 1 (0 points)
    Oct 21, 2012 9:35 PM in response to Carlo TD

    I don't follow you Carlo...  My response was in regards to restoring Apple's Java 6 applet plug-in.

  • by Carlo TD,

    Carlo TD Carlo TD Oct 21, 2012 10:02 PM in response to D. Rackerby
    Level 3 (558 points)
    Oct 21, 2012 10:02 PM in response to D. Rackerby
  • by D. Rackerby,

    D. Rackerby D. Rackerby Oct 21, 2012 10:04 PM in response to Carlo TD
    Level 1 (0 points)
    Oct 21, 2012 10:04 PM in response to Carlo TD

    No, it doesn't help.  That page has incorrect information.

  • by Carlo TD,

    Carlo TD Carlo TD Oct 21, 2012 10:05 PM in response to D. Rackerby
    Level 3 (558 points)
    Oct 21, 2012 10:05 PM in response to D. Rackerby

    D. Rackerby wrote:

     

    No, it doesn't help.  That page has incorrect information.

    Why do you say that?

  • by D. Rackerby,

    D. Rackerby D. Rackerby Oct 21, 2012 10:10 PM in response to Carlo TD
    Level 1 (0 points)
    Oct 21, 2012 10:10 PM in response to Carlo TD

    It states that the folowing command restores Apple's Jave 6:

     

    sudo ln -s /System/Library/Java/Support/CoreDeploy.bundle/Contents/JavaAppletPlugin.plugin /Library/Internet Plug-Ins/JavaAppletPlugin.plugin

     

    But the correct command is:

     

    sudo ln -s /System/Library/Java/Support/Deploy.bundle/Contents/Resources/JavaPlugin2_NPAPI .plugin /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin

     

    Note that the source file is slightly different than the one mentioned in the Oracle instructions.  They are also missing a backslash.

  • by Carlo TD,

    Carlo TD Carlo TD Oct 22, 2012 2:33 AM in response to D. Rackerby
    Level 3 (558 points)
    Oct 22, 2012 2:33 AM in response to D. Rackerby

    From my understanding... starting with Mountain Lion  Apple dumps old version of java.  There is this transition stage that both Apple and Oracle are offering updates. However if you installed Mountain Lion on your machine then it is your responsiblity to download the Oracle Java from the Oracle site.

    Now from my understanding from the article located at (and I am not lookong at the command lines... I do not mess ith that at all); the last three questions are the most important. Especially the one that reads:

    ...Q: What happened to the Java Preferences app in Application -> Utilities?

    A: The Java Preferences app was part of Apple Java installation and is not used by Oracle Java. Therefore, OS X releases from Apple that do not include Apple Java will not include Java Preferences.

    One of the functions of Java Preferences was to set the current version of the JRE. Under Oracle Java, only a single version of the JRE can be installed at a time. For more information, see JRE 7 Installation for Mac OS X.

    To access the Java Control Panel, click the Java icon in the System Preferences panel. If the Java icon is not present (under the Other category) in System Preferences, you do not have an Oracle JRE installed.

    ... (my take is that this app in the utlity folder is not needed anymore. Just the app now located in the system preferences.)

  • by Carlo TD,

    Carlo TD Carlo TD Oct 22, 2012 2:44 AM in response to karlfromhaymarket
    Level 3 (558 points)
    Oct 22, 2012 2:44 AM in response to karlfromhaymarket

    karlfromhaymarket wrote:

     

    I downloaded the updated directly from the Apple support site:

     

    http://support.apple.com/kb/DL1515

     

    Seems safer than using the macupdate.com site!

    I believe anyone that downloaded this file, will need to reinstall ML. Hence it is not availabe anymore on the Apple site. If you were able to capture the file before they removed it, I would suggest you reinstall ML by holding down command+R while the computer is starting up.

  • by ericacm,

    ericacm ericacm Oct 24, 2012 6:52 PM in response to D. Rackerby
    Level 1 (4 points)
    Oct 24, 2012 6:52 PM in response to D. Rackerby

    This did work for me to revert the plugin to 1.6.

     

    sudo ln -s /System/Library/Java/Support/Deploy.bundle/Contents/Resources/JavaPlugin2_NPAPI .plugin /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin

  • by Rigorous Dude,

    Rigorous Dude Rigorous Dude Oct 25, 2012 8:52 PM in response to ericacm
    Level 1 (0 points)
    Oct 25, 2012 8:52 PM in response to ericacm

    Apple posted this solution a few days ago and it fixed my previously posted problem (http://support.apple.com/kb/HT5559).  Since Apple posts have a way of disappearing, the steps are:

     

    In an Administrator Account, open Terminal, located in the Utilities folder.


    Enter this command, then press the Return or Enter key:

    sudo mkdir -p /Library/Internet\ Plug-Ins/disabled

    Enter password

     

    Enter this command, then press the Return or Enter key:

    sudo mv /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin /Library/Internet\ Plug-Ins/disabled

     

    Enter this command, then press the Return or Enter key:

    sudo ln -sf /System/Library/Java/Support/Deploy.bundle/Contents/Resources/JavaPlugin2_NPAPI .plugin /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin

     

    To re-enable Java SE 6 Web Start, enter this command, then press the Return or Enter key:

    sudo ln -sf /System/Library/Frameworks/JavaVM.framework/Commands/javaws /usr/bin/javaws

     

    RD

  • by zacholdfield,

    zacholdfield zacholdfield Nov 1, 2012 1:47 PM in response to Equus
    Level 1 (0 points)
    Nov 1, 2012 1:47 PM in response to Equus

    You can use terminal commands out line in article ht5559 to activate java SE6 as sometimes it is disabled by java 7,

     

    heres the commands

     

     

    1. Open Terminal, located in the Utilities folder.
    2. Enter this command, then press the Return or Enter key:
      sudo mkdir -p /Library/Internet\ Plug-Ins/disabled
    3. Enter this command, then press the Return or Enter key:
      sudo mv /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin /Library/Internet\ Plug-Ins/disabled
    4. Enter this command, then press the Return or Enter key:
      sudo ln -sf /System/Library/Java/Support/Deploy.bundle/Contents/Resources/JavaPlugin2_NPAPI .plugin /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin
    5. To re-enable Java SE 6 Web Start, enter this command, then press the Return or Enter key:
      sudo ln -sf /System/Library/Frameworks/JavaVM.framework/Commands/javaws /usr/bin/javaws


  • by Helene L,

    Helene L Helene L Nov 13, 2012 10:11 PM in response to ericmurphsf
    Level 1 (0 points)
    Nov 13, 2012 10:11 PM in response to ericmurphsf

    I have exactly the same problem on Lion and not Mountain Lion, but created a ticket before to read you, and obviously nobody has found an answer... Have you? That would be so helpful!!!

  • by Jo Wace,

    Jo Wace Jo Wace Nov 17, 2012 6:45 AM in response to Helene L
    Level 1 (0 points)
    Nov 17, 2012 6:45 AM in response to Helene L

    Je pense que voues etes francaise? J'ai re-installe Java SE 6, puis redemarrer l'ordi. Ca a marche pour moi...

  • by Helene L,

    Helene L Helene L Nov 18, 2012 12:19 AM in response to Jo Wace
    Level 1 (0 points)
    Nov 18, 2012 12:19 AM in response to Jo Wace

    Tout à fait :) Le problème est que je n'arrive pas à réinstaller java (avec le téléchargement du site d'Apple), lorsque j'essaye j'obtiens un message me disant qu'il est déjà installé, et lorsque je vérifie avec terminal, la réponse est que java n'est pas installé, alors je tourne en boucle :(...

  • by Jo Wace,

    Jo Wace Jo Wace Nov 18, 2012 2:22 AM in response to Helene L
    Level 1 (0 points)
    Nov 18, 2012 2:22 AM in response to Helene L

    Oui, j'ai eu le même problème, alors j'ai fais un cherche sur Google et j'ai trouvé un site ou j'ai pu téléchargé Java SE 6 (ou 7).

    Voici un 'link'.

    http://www.oracle.com/technetwork/java/javase/downloads/index.html

first Previous Page 3 of 4 last Next