Java update Failed

Hello,


So i am running Yosemite on a Macbook pro 13 inch year 2012

When i try to install java through the build in java installer it stops at 0,1 Mb before complete and after a few minutes it says "Update Failed"

When i download the update through java's website everything goes well and i get the java running verification, But if i write java -version on terminal it says that i am currently running the 1.6.0_65 version


What do i have to do to fix this?

iOS 6.1.2

Posted on May 27, 2015 8:13 AM

Reply
12 replies

May 27, 2015 8:37 AM in response to ioannis1

If you mean the Java icon in the bottom row like this:


User uploaded file


That's not an installer. It means someone already installed Java from Oracle. If you click on that icon, it launches the installed version of Java, which has a way to update itself if it's out of date under the Update tab:


User uploaded file


This doesn't always work. Get the full installer I linked to above and run that.

May 27, 2015 9:03 AM in response to ioannis1

There are two different Java distributions for end users: 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. Newer Java applications have the Java runtime built in, and don't depend on Apple's Java.

The Oracle Java runtime (version 8 or later) is a web plugin only. It's used to run Java applets on web pages and Java WebStart applications. You can determine whether it's installed and up to date by looking for a preference pane named Java in System Preferences. If it's present, open it. It will launch the "Java Control Panel." Select the Update tab.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Java update Failed

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