Java in OS X YosemiteJava in OS X Yosemite

Mac users who require Java and who have installed OS X Yosemite may have discovered that a prior version of Java is no longer functioning under OS X 10.10, and that older installers don’t work to install Java in Yosemite. Additionally, a fresh install of Yosemite does not include Java at all. If your Mac running OS X Yosemite needs Java for application compatibility, online banking, or any of the myriad of other reasons, you can manually install one of two versions of Java that are compatible with OS X 10.10, either the latest version of JRE 8, or an older version from Apple which remains compatible with the newest version of OS X.

Keep in mind that many Mac users do not need Java anymore, so if you’re not sure whether you need Java in OS X, you probably don’t, and you’re probably better off just avoiding this.

1: Grab a Yosemite Compatible Java Version from Apple

Apple offers an (older) Yosemite compatible version of Java on their website:

Installing Java in OS X YosemiteInstalling Java in OS X Yosemite

While this version installs in OS X Yosemite just fine (despite having the Lion icon shown on the Apple support page, just ignore that as there are no lions in Yosemite) it’s actually JRE 6, which is not the most recent version. If you want a more recent version of the JDK or JRE, you can get that directly from Oracle.

2: Get the Yosemite Compatible Java 8 Installer from the Command Line

Launch the Terminal in OS X Yosemite and type the following command:

java -version

If you do not currently have Java installed, you’ll get a message that says “No Java runtime present, requesting install.” soon followed by a popup message that says “To use the ‘java’ command-line tool you need to install a JDK. Click “More Info” to visit the Java Developer Kit download website.”

Get Java in OS X Yosemite from the command lineGet Java in OS X Yosemite from the command line

As you may have guessed, click on “More Info” to launch the Java site in your default web browser, don’t click on OK it just closes the alert box.

That just takes you to this Oracle website where you can download the latest installer for either the Java 8 JRE (the runtime, for most users) or the Java 8 JDK (the Java development kit, for developers).

That’s all there is to it, enjoy your Java in OS X Yosemite.

Yes, this will fix the “To view this web content, you need to install the Java runtime environment error”

A notable number of Mac users have discovered an error message when using Safari to browse the web, the message is almost always a pop-up window that says: “To view this web content, you need to install the Java runtime environment.”

To resolve this runtime error message, you simply need to install Java using either of the methods outlined above, then quit and relaunch Safari web browser and return to the site(s) in question. When they reload and Java is available, the runtime required error will disappear and the website content will load as expected.

Source

Follow Me:
Top Best Sellers!!