
That’s all there is to it, enjoy your Java in OS X Yosemite. 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).

Click “More Info” to visit the Java Developer Kit download website.”Īs 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. 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. Launch the Terminal in OS X Yosemite and type the following command: 2: Get the Yosemite Compatible Java 8 Installer from the Command Line If you want a more recent version of the JDK or JRE, you can get that directly from Oracle. 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. 1: Grab a Yosemite Compatible Java Version from AppleĪpple offers an (older) Yosemite compatible version of Java on their website: Please, do not use triple backticks (```) as they will only render properly on new reddit, not on old reddit.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. If any of the above points is not met, your post can and will be removed without further warning.Ĭode is to be formatted as code block ( old reddit: empty line before the code, each code line indented by 4 spaces, new reddit: ) or linked via an external code hoster, like, github gist, github, bitbucket, gitlab, etc.


Also, see Learn to help yourself in the sidebar Trying to solve problems on your own is a very important skill. You demonstrate effort in solving your question/problem - plain posting your assignments is forbidden (and such posts will be removed) as is asking for or giving solutions. You include any and all error messages in full Your code is properly formatted as code block - see the sidebar (About on mobile) for instructions
