-
All replies
-
Helpful answers
-
Jan 19, 2015 9:54 AM in response to Deanlovesyouby Joe Bailey,Some Java applications do not recognize the Java 8 update 25 JRE (Java Runtime Environment) that is compatible with Yosemite and it was driving me crazy. Quite by coincidence I decided to install the Java 8 update 25 JDK (Java Development Kit) and since then no problems with app recognition. The Java SDK is not available from Java.com rather you have to get it from the Oracle site and like the Java JRE it is a free download.
Since the Etrecheck utility is frequently mentioned in these discussions I should mention that it will incorrectly flag the JDK 8 update 25 internet plug-in as out of date and link back to the JRE download. Just install the JDK and don't worry about Etrecheck's warning.
-
-
Jan 19, 2015 3:28 PM in response to Deanlovesyouby Linc Davis,There are two different Java distributions for the Mac: one distributed by Apple, and one by Oracle. They don't overlap in function.
The Apple Java runtime (version 6) is needed to run bare jar files and older standalone Java applications. That's the one you need.
The Oracle Java runtime (version 8) is a web plugin only. It's used to run Java applets on web pages and Java WebStart applications.
-
Jan 19, 2015 6:21 PM in response to Linc Davisby Joe Bailey,Linc Davis wrote:
There are two different Java distributions for the Mac: one distributed by Apple, and one by Oracle. They don't overlap in function.
The Apple Java runtime (version 6) is needed to run bare jar files and older standalone Java applications. That's the one you need.
The Oracle Java runtime (version 8) is a web plugin only. It's used to run Java applets on web pages and Java WebStart applications.
Linc you are such an authority that I am loathe to correct you but you are misinformed in this case. The Java 6 and Java 8 implementations do overlap in any version of OS X but particularly in Yosemite. Apple dropped all development and support of Java concurrent with the release of OS X 10.8.3 and ceded all Java support to Oracle, the owner of Java. Since OS X 10.8.3 all Java downloads for Apple systems running OS X have come directly from Oracle at their java.com site. In fact if you attempted to run a Java application OS X would direct the user to the Java.com website to download the current version. Neither Java 6 or Java 7 are compatible with Yosemite no matter whether they were downloaded from Apple or Java.com. The only version of Java that is compatible with Yosemite is Java 8 update 25. The Java 8 update 25 JRE is available for download from java.com but some older Java applications on the Mac refuse to recognize the Java 8 update 25 JRE in systems running Yosemite and attempt to force the Yosemite user to install the no longer compatible Java 6 JRE from Apple. For reasons I have been unable to determine however, those same applications do recognize the Java 8 update 25 JRE that comes with the Java SE 8 update 25 Java Development Kit that is only available from the Oracle web site.
-
-
Jan 27, 2015 3:38 PM in response to Linc Davisby AppleScruff2014,Can you precise why it is incorrect. It's a pity this thread end like this with two contradictory post.
-
by Old Toad,Jan 27, 2015 3:55 PM in response to AppleScruff2014
Old Toad
Jan 27, 2015 3:55 PM
in response to AppleScruff2014
Level 10 (140,908 points)
Photos for MacI had the same issue with Photoshop C3. Installed the Oracle Java 8 which did not do the trick. Installed the Apple legacy Java 6 which got PSC3 up and running. I don't know what the differences are but the fact of the matter is the Oracle Java 8 doesn't work in this situation and the Apple legacy does.
-
Jan 27, 2016 7:32 PM in response to AppleScruff2014by etresoft,AppleScruff2014 wrote:
Can you precise why it is incorrect. It's a pity this thread end like this with two contradictory post.
Hello AppleScruff2014,
It isn't incorrect. There is no contradiction. Linc is just wrong.
Java on the Mac is just a mess. It is a long story that stretches over 20 years. I can tell you that many of the stand-alone "double-clickable" Mac Java apps that you will find on the internet require Apple's Legacy Java installer (Download Java for OS X 2015-001) to function. Well, they will function. They just won't launch with a simple double-click. You can make them work with only the Oracle Java, but it is a hassle to dig into package to find the jar file.
If you have any of those apps and you want to be able to double-click them and run them with a modern version of Java, you need to download and install Apple's legacy Java and then install the latest version of Oracle's Java. Just remember to turn off the adware that is bundled in the Oracle installer. Also remember to go into Oracle's Java Preferences > Advanced and turn off the adware that Oracle will include in updates. Sneaky, eh?
Once you do all of that, you will have a fully functional Java installation. You can even turn off the web stuff if you want to. Your Java apps will run in Oracle's JRE. Internally, your Java system will be a royal mess so I suggest not looking at it.
-
Jan 27, 2016 7:36 PM in response to Joe Baileyby etresoft,Joe Bailey wrote:
Since the Etrecheck utility is frequently mentioned in these discussions I should mention that it will incorrectly flag the JDK 8 update 25 internet plug-in as out of date and link back to the JRE download. Just install the JDK and don't worry about Etrecheck's warning.
Hello Joe,
Sorry about the confusion over the Java version. I added that feature back during the big Java security exploit a while ago. But Oracle was distributing all kinds of different versions of Java and calling them all "up to date" whereas when EtreCheck tried to verify, Oracle always claimed some other version was the current one. It got to be such a hassle that I got rid of the Java version check altogether. I don't know why EtreCheck would tell you it is out of date. It should just say "Check version" with a link to the Java home page, like this:
FlashPlayer-10.6: Version: 20.0.0.286 - SDK 10.6 [Support]
QuickTime Plugin: Version: 7.7.3
Flash Player: Version: 20.0.0.286 - SDK 10.6 [Support]
Default Browser: Version: 601 - SDK 10.11
SharePointBrowserPlugin: Version: 14.5.9 - SDK 10.6 [Support]
Google Earth Web Plug-in: Version: 7.1 [Support]
JavaAppletPlugin: Version: Java 8 Update 66 build 17 Check version
If you are getting something different. please contact me with the details and I'll investigate.
-
by Linc Davis,Jan 27, 2016 9:46 PM in response to AppleScruff2014
Linc Davis
Jan 27, 2016 9:46 PM
in response to AppleScruff2014
Level 10 (207,926 points)
Applications -
Jan 28, 2016 6:37 AM in response to AppleScruff2014by Kurt Lang,You are correct, AppleScruff2014. This was discussed at length not too long ago here. My post clearly proves that Java 8 will run legacy Java 6 apps by simply adding the two null files that make those older Java apps believe Java 6 exists. Many users use this same little trick for the Adobe apps so they don't have to install both versions of Java.
-
Jan 28, 2016 7:10 AM in response to Kurt Langby JimmyCMPIT,I need sweet 16 brackets to find out who wins this one but my methodology as to what has worked for me on many production systems is exactly what Old Toad posted. Photoshop CS + Apple Legacy java = bootable application.
-
Jan 28, 2016 7:29 AM in response to JimmyCMPITby Kurt Lang,Hi JimmCMPIT,
If you install Java 8 and do nothing else, then no, apps which require legacy Java 6 will not run and you will need to install both Java 8 and 6.
But if you install Java 8 and run these two commands to create the files 1.6.0.jdk and Deploy.bundle in the noted folders, then legacy Java 6 apps will run under Java 8 with no need to install Java 6 at all.
sudo mkdir -p /System/Library/Java/JavaVirtualMachines/1.6.0.jdk
sudo mkdir -p /System/Library/Java/Support/Deploy.bundle
This trick may not work with all legacy Java apps, but I haven't run across one yet where it doesn't.
I do understand why Linc quotes this the way he does. It's Oracle's own position on Java 8. And you would certainly think the information from Oracle would be correct, but this isn't the case. Java 8 is a full Java runtime interpreter, just like Java 6. It's the older apps that balk at not finding a direct reference that Java 6 is installed that prevents them from running. Apple has numerous Knowledge Base Articles with errors in them, which level 6 and higher users report to the hosts to get them fixed. The point there being that just because a particular KB says "x", doesn't necessarily mean it's correct. Sometimes they were right and have been outdated, and a few were simply wrong.
-
Jan 28, 2016 7:52 AM in response to JimmyCMPITby etresoft,JimmyCMPIT wrote:
I need sweet 16 brackets to find out who wins this one but my methodology as to what has worked for me on many production systems is exactly what Old Toad posted. Photoshop CS + Apple Legacy java = bootable application.
Hello JimmyCMPIT,
Maybe bootable, but what about useable? Apple recommends Oracle's Java for a reason. The "Legacy" Java is very old. Many newer Java apps won't work with it. Generally, anything that is packaged as a double-clickable Mac application should work with the Legacy Java. The developers of the app wouldn't have been able to develop it otherwise. But there are lots of other java apps for everything from enterprise applications to gaming that are not developed for the Mac. They will work fine in any modern Java runtime, but not necessarily Apple's.
If you want more details, here is a thread from the last time we had this "discussion": Update Ruined How my Java Applications Worked