Announcement: Upgrade to macOS Mojave

With features like Dark Mode, Stacks, and four new built-in apps, macOS Mojave helps you get more out of every click. 
Find out how to upgrade to macOS Mojave > https://support.apple.com/macos/mojave

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

Question:

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

Reply
Question marked as Solved
Answer:
Answer:

I got the same message when trying to start Photoshop CS5 after upgrading to Yosemite. I went to this page and clicked on the blue Download button, and then installed the older version of Java. Now Photoshop works.


http://support.apple.com/kb/DL1572?viewlocale=en_US&locale=en_US

Posted on

Question marked as Helpful

Oct 18, 2014 8:12 AM in response to WiseJD In response to WiseJD

After Java8 is installed verify that the following file exists (notice the space between "Internet" and "Plug-Ins"). You can do this via Finder.


/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java


This is what I currently have on my machine...


lrwxr-xr-x 1 root wheel 73 Jul 14 21:49 /usr/bin/java -> /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java


To do this, in OSX terminal


1. sudo rm /usr/bin/java

2. sudo ln -s /usr/bin/java /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java

3. Check that you get the version correctly.

java -version

java version "1.7.0_67"

Java(TM) SE Runtime Environment (build 1.7.0_67-b01)

Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)


3. Test other applications.

There’s more to the conversation

Read all replies

Page content loaded

Question marked as Solved

Oct 17, 2014 2:21 PM in response to doughboy04690 In response to doughboy04690

I got the same message when trying to start Photoshop CS5 after upgrading to Yosemite. I went to this page and clicked on the blue Download button, and then installed the older version of Java. Now Photoshop works.


http://support.apple.com/kb/DL1572?viewlocale=en_US&locale=en_US

Oct 17, 2014 2:21 PM

Reply Helpful (9)

Oct 17, 2014 6:38 PM in response to euiseok In response to euiseok

Java8 and Apple Java SE 6 are installed in two different places. You will have to either remove Java SE6, or "link" (Unix links) to the Oracle Java8, once it is installed.


For example this machine has no Java installed (it only has the Apple Java SE6 skeleton, there is no JRE/JDK), and redirects to Oracle Java



type java

java is /usr/bin/java

ls -ld /usr/bin/java

lrwxr-xr-x 1 root wheel 74 Sep 11 15:40 /usr/bin/java -> /System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/java

ls /System/Library/Frameworks/

Display all 126 possibilities? (y or n)

ls /System/Library/Frameworks/JavaVM.framework/

Frameworks/ JavaVM Resources/ Versions/ module.map

ls /System/Library/Frameworks/JavaVM.framework/Versions/

A Current

ls -l /System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/Java

-rwxr-xr-x 1 root wheel 50160 Aug 8 09:00 /System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/Java

Oct 17, 2014 6:38 PM

Reply Helpful (2)

Oct 18, 2014 5:01 AM in response to Loner T In response to Loner T

Okay ...if you are not a Developer, but just love your Mac ...How do you get this dumb popup to STOP? When I look at the Oracle Page I can easily see the one that Lanny says to download, but before I do I am wondering what the one below it means? After I get brave enough to download the circled one, then I have zero idea how I am going to "remove the SE 6 or Link to..."

Oct 18, 2014 5:01 AM

Reply Helpful (2)
Question marked as Helpful

Oct 18, 2014 8:12 AM in response to WiseJD In response to WiseJD

After Java8 is installed verify that the following file exists (notice the space between "Internet" and "Plug-Ins"). You can do this via Finder.


/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java


This is what I currently have on my machine...


lrwxr-xr-x 1 root wheel 73 Jul 14 21:49 /usr/bin/java -> /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java


To do this, in OSX terminal


1. sudo rm /usr/bin/java

2. sudo ln -s /usr/bin/java /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java

3. Check that you get the version correctly.

java -version

java version "1.7.0_67"

Java(TM) SE Runtime Environment (build 1.7.0_67-b01)

Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)


3. Test other applications.

Oct 18, 2014 8:12 AM

Reply Helpful (4)

Oct 18, 2014 10:53 AM in response to TomNYC In response to TomNYC

Thanks for the link. I was able to download that and make the popup go away. I am slightly concerned with the security issue of running the old version of Java. I still wasn't able to figure out what application was triggering the message though so I'm kind of stuck with using the old Java until I can figure it out.

Oct 18, 2014 10:53 AM

Reply Helpful (3)

Oct 18, 2014 11:37 AM in response to GreenNetizen In response to GreenNetizen

Oops spoke to soon. It still wants an update.

I think what you have to do is install 8 and then do the Java 8 Update 25 (8u25). "If" I'm reading this correctly, the 8u20 has a bug and the 8u25 fixed it.

Here is what the notes say and the link:

https://www.java.com/en/download/help/mac_10_10.xml



How do I install Java on Mac OS X 10.10?

This article applies to:

  • Platform(s): Macintosh OS X
  • Java version(s): 7.0, 8.0

Starting with Java 8 Update 25 (8u25), download and install Java 8 from java.com. A bug was fixed in 8u20 which had prevented the installation of prior releases of Java on Mac OS X 10.10. If you need to install Java 7 for Mac 10.10, you can get the latest Java 7 version from java.com. A bug was fixed in 7u71 which prevented the installation of Java 7 on Mac OS X 10.10.

You might also be interested in:

Oct 18, 2014 11:37 AM

Reply Helpful (1)

Oct 18, 2014 12:45 PM in response to doughboy04690 In response to doughboy04690

OK, I'm pretty new to the board so I appoligize if I'm getting mixed up.

Anway, I tried the update Java 8 - and neither worked. I still go the message;

the Java 8 (8u20) and the Java 8 (8u25) Neither worked.

Kept reading posts on the board and found one that said go back to an earlier version.

Java for OS X 2014-001

which I did and it seems to be working find for now.

I also read that downloading an upsupported version could be ricky. ( but I would assume that anything 2014 was still on many machines because many people are waiting a few months before they try Yosemite, which I ususally do but for some reason, I thought I'd go first this time. So if anyone else is having this problem and finds a better solution, please share.

Thanks for all the suggestions.

Oct 18, 2014 12:45 PM

Reply Helpful

Oct 18, 2014 1:04 PM in response to GreenNetizen In response to GreenNetizen

Do you have the Java Control Panel in System Preferences? If yes, run Update and get the latest of Java 7 or Java 8 that you need.


Once you have Oracle Java completely installed, then the link should be created which should cover all Java needs. If you still get a Java SE6 pop-up, you have an application that is not honoring Java installation on your machine.


If you get messages like, then Java is not configured correctly.


sudo find / -name java -print -exec {} -version \; | more

find: /dev/fd/3: Not a directory

find: /dev/fd/4: Not a directory

/System/Library/Frameworks/JavaVM.framework/Versions/A/Commands/java

No Java runtime present, requesting install.

/usr/bin/java

No Java runtime present, requesting install.

Oct 18, 2014 1:04 PM

Reply Helpful
User profile for user: doughboy04690

Question: Java SE 6 on Yosemite?