You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Java SE 6 on Yosemite?

I just updated my mac to Yosemite and the following message keeps popping up "To open 'this Java application' you need to install the legacy Java SE 6 runtime." No matter if I click "ok" or "More Info..." (the only two options) it keeps coming up. Is there some way I can find out what app is triggering the message or fix the issue?

Posted on Oct 16, 2014 6:11 PM

Reply
Question marked as Top-ranking reply

Posted on Oct 16, 2014 6:33 PM

Java 8 is the recommended version for Yosemite: http://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.h tml



Choose this one:


User uploaded file

204 replies

Dec 30, 2014 12:44 AM in response to doughboy04690

Hi guys,


I have read all messages relevant to Java SE runtime issues which pop up now and then on my Mac (Yosemite). However annoying it may be, it does not seem to affect my Mac performance at all. I have Java 8u45 as detected by Java website. To get Java 6 as suggested by a few, I went to Java Archive but could not find the right Java 6 for OS X operating systems; most of them are for Linux, Solaris and Windows! So I am stuck like the rest of you but would rather wait until perhaps Apple resolves with Oracle. It would be nice if we hear anything direct from Apple such as an official statement on how to get round this problem rather than leave us to the task as end-users!!!


Regards


P.S. The above post by choochababy with a link drew blank unfortunately! :-(

Jan 4, 2015 9:47 AM in response to doughboy04690

***SOLVED***


In case you don't want to install JRE6 at all and simply use JRE8 without symlinking it to the JRE6 either you can do the following:

Copy the Info.plist located at the path named below to e.g. ~/Desktop/:

/Library/Java/JavaVirtualMachines/jdk.1.8.<…>/Contents/

and then replace

    <key>JVMCapabilities</key>

    <array>

    <string>CommandLine</string>

    </array>

with the following:

    <key>JVMCapabilities</key>

    <array>

    <string>JNI</string>

    <string>BundledApp</string>

    <string>WebStart</string>

    <string>Applets</string>

    <string>CommandLine</string>

    </array>

Afterwards copy the file back to its original location (you need administrator rights). For this change to take effect you need to restart your computer. The dialog for Java 6 should shouldn't appear anymore and Photoshop should launch just fine using JRE8.

On a related note it appears that this plist change sticks even after updates done through the Java Preference Panel in the System Preferences.

Jan 7, 2015 1:50 PM in response to shrinktofit

Shrinktofit: I would check to see if java is installed, and what version is installed. To do this, do the following:


Open terminal and type the following command:

javac -version

I have javac 1.8.0_25


You can download java jdk from:

http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.h tml


If you have to download java jdk, try my previous steps after you install.


Hope that helps.

Jan 9, 2015 7:05 AM in response to Phannatic

I checked and this is what came up:


MacPro:~ (USR) javac -version

No Java runtime present, requesting install.

MacPro:~ (USR) sudo -s

Password:

bash-3.2# softwareupdate --list

Software Update Tool

Copyright 2002-2012 Apple Inc.


Finding available software

No new software available.

bash-3.2# softwareupdate --install Java runtime

Software Update Tool

Copyright 2002-2012 Apple Inc.


Finding available software

runtime: No such update

Java: No such update

No updates are available.


This dispite the fact I did download and install Java 8-25, which was confirmed by java test screen. ***???

Java SE 6 on Yosemite?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.