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

Feb 21, 2015 10:18 AM in response to tomar012

Java 6 isn't allowed by the OS to connect to your web browsers at all. So yes, it's safe. Only your local apps on the hard drive which require it to run will use it.


If you install Oracle's Java 8, it automatically enables Java for the web for that version of Java. Apple's Java 6 always remains unattached to your browser. If you have apps which require a newer version than Java 6 to run, the after installing Java 8, immediately go to the System Preferences, click the Java icon and disable it for the web (top check box).


User uploaded file

Feb 21, 2015 1:25 PM in response to doughboy04690

The following solution is perfect. It allows me to:

  • NOT install the outdated Java SE 6
  • Keep the current, most secure version of Java (version 8 at this time)
  • Run Adobe Illustrator CS6 on Yosemite


I found the solution in Adobe's forums: https://forums.adobe.com/thread/1706469


THIS WORKED FOR ME RATHER EFFORTLESSLY (installed the latest Java from Oracle and running the 2 terminal codes) from Kals #7:


Why not install the latest version of Java from Oracle (currently Java 8) and try the solution I linked to? You can create the folders manually in the Finder, or just copy and paste the following commands into the Terminal (one at a time of course) to create them automatically:


sudo mkdir -p /System/Library/Java/JavaVirtualMachines/1.6.0.jdk

sudo mkdir -p /System/Library/Java/Support/Deploy.bundle

Mar 7, 2015 8:04 AM in response to doughboy04690

Photoshop cs5 works now for me too on macbook pro 2008 w/ Yosemite. However, now I seem to be getting intermittent connectivity. I have java 8.1 installed as recommended. If I restart the mac, then internet connects, and there doesn't seem to be any issues. Put in sleep mode, come back later, and it doesn't connect. Although, the mac shows that I am connected to internet with full power. Still, the webpages say they can't connect. Was wondering if you had run into this after you installed photoshop and its java dependency?

Mar 9, 2015 9:55 AM in response to JRG Indy

Hi JRG Indy and Kalsta and everyone else who has tried to be helpful on this thread -


I recently did a clean install of Yosemite and am in the process of trying to get Adobe CS6 (largely for Illustrator) up and running for my husband. We are aware of the Java issue and I want to install the correct Java and ideally only once.


You both seem to have an understanding of the situation and be prompting the same solution. Thanks for the help! However, can you please translate for those of us that are less familiar with programming? I have enough comfort with our computer to take on a clean install and perform some basic terminal edits (e.g., following detailed directions to make a jump drive a boot drive for the os install), but then run out of experience and comfort quickly. I would appreciate if you could tell me if I have this right.


Based on my reading throughout these forums (having encountered several takes on the situation), I understand (perhaps erroneously) the following instructions.

1. Install Java SE6 though the apple 2014-001 link, be done with it, and don't worry about the security because Apple prevents Java 6 from running on Safari and it will only run locally. Downside: old software so you will likely never get updates (if they are needed) and you may need Java 8 anyway for other things.

2. Install Java 8 since it is the most recent, should be the most secure, and is likely to be updated (automatically or is that a pipe dream? If so, by Oracle/java or by apple?). Point applications that need Java to 8 instead of SE6. Disable website access in system preferences. Downside: have to be comfortable enough with terminal edits to do it correctly.

3. Growl a little at the company of your choice for not playing nicely together in the first place.


I decided I would be brave and try the Java 8 route since all this effort for dated software doesn't make too much sense to me, but then followed the link to encounter this warning on the Dowling site: "I went to the Oracle Java downloads page and downloaded JDK 8 (if you do not know the difference between JDK and JRE, you should get the JRE version)."

As I had seen a warning somewhere else in the forum to make sure to use the JDK version for this work around to be successful, my courage vanished as I will freely admit I do not appreciate the difference (btw is jdk the same as Java Platform (JDK) 8u40?) and that the terminal edits scare me a little. They don't really seem that hard, but I clearly don't completely understand what I am doing and not sure the directions are meant for my level of ignorance.

What do you suggest? Are there assumptions in the Dowling directions of which it seems I would be ignorant?

Thank you (and anyone else who could shed some light on this)!!

Mar 9, 2015 6:18 PM in response to mccormry

Hi mccormry


No, you don't need the JDK version. For an explanation of the difference between JDK and JRE see here.


Since you're going down the Java 8 route (I applaud you!), all you need to do is install Java (JRE) and then create some empty folders, either manually in the Finder, or automatically using the Terminal.


To create them manually:


navigate to ‘/System/Library/Java/‘ in the Finder, and create the folders in the normal way (‘File > New Folder’, or click the gears icon in the Finder window.) If it doesn't already exist, create a folder and name it 'JavaVirtualMachines', and another folder INSIDE that one and name it '1.6.0.jdk'. Then, inside the '/System/Library/Java/Support' folder, create another empty folder and name it 'Deploy.bundle' Enter your Mac’s user password when prompted and click ‘Add’ if asked whether you want to add the filename extension.


To create them automatically (easier and quicker):


Open 'Terminal.app', copy and paste the first command and hit enter, to create the first nested folder:


sudo mkdir -p /System/Library/Java/JavaVirtualMachines/1.6.0.jdk


Enter your Mac’s user password when prompted. Now copy and paste the second command to create the second folder:


sudo mkdir -p /System/Library/Java/Support/Deploy.bundle


Done! Enjoy CS6 on Yosemite. :-)

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.