Java is no longer installed with a OS X 10.11 El Capitan clean install, and you’ll find that after updating a Mac a prior version of JRE may no longer function.
You may come across when trying to use some particular applications or web content, “This application requires the legacy Java SE 6 runtime which is unavailable for this version of OS X.” error message, which means if you want to run that app you’re going to need to use an older version of Java.
If you do not need Java, you should not install Java. Java is, and always has been, the source of many security holes.
Here’s how you can install JRE (Java Runtime Environment).
Java SE JDK 11.0.8 Java Platform, Standard Edition (Java SE) lets you develop and deploy Java applications on desktops and servers. Download options: Windows macOS. Hello World in Java on Mac OS X: This tutorial is an introduction to object oriented programming in the high-level computer programming language, Java, on a Mac OS X operating system. The following instructions will guide you through writing, compiling, and executing a simple compu. Click on the “More Info” button to jump to the Java downloads page in a web browser This will allow you to download and install the newest most recent version of Java available for the Mac, which is currently JRE8. Download Java for OS X directly from Oracle. Get the latest version If an app or webpage you want to use asks you to install Java software, you can download the current version of Java for OS X directly from Oracle's website.
Step 1. Open Safari and go to the Oracle Java downloads page and download the JRE .tar.gz version. You should end up with a file named something similar to jre-8u65-macosx-x64.tar.gz.
If you have not yet installed Apple's Java OS X 2012-006 update, then you are still using a version of Apple Java 6 that includes the plug-in and the Java Preferences app. See 'Note for Users of OS X that Include Apple Java 6 Plug-in'. There can be multiple JDKs installed on a system, as many as you wish.
Step 2. Go to your Downloads folder and extract the JRE download or use Terminal to extract files:
Step 3. Open Terminal
Step 4. Edit the Info.plist file within to enable the JRE to be used from the the command line, and from bundled applications:
Step 5. Move the JRE folder to the correct location:
Type password on prompt.
Be sure you are in the correct directory (the JRE folder) when you issue this command, because it will move your current directory to /Library/Java/JavaVirtualMachines/!
Step 6. Create a link to add backwards compatibility for some applications made for older Java versions:
You should be done now, so try and open the application. If it does not work, some applications require legacy Java 6 to be installed.
You can have it installed without actually using it, however, it’s possible to trick the applications into thinking legacy Java 6 is installed, without actually doing so.
Step 1.Disable SIP (System Integrity Protection) in OS X El Capitan. Here is tutorial to disable and enable SIP.
Step 2. Trick some applications into thinking that legacy Java 6 is installed by creating two folders with the following commands in Terminal:
Step 3. Don’t forget to enable SIP again after creating these directories.
Java 8 Download Mac Os 10.13
After upgrading to a newer version of Mac OS X (Yosemite 10.10 and El Capitan 10.11) or macOS (Sierra 10.12 and High Sierra 10.13), you may end up getting an annoying new pop-up message whenever you start your computer. It says, “To use the java command-line tool, you need to install a JDK.” It asks you to click “More Info” and visit the JDK (Java Developer Kit) download website.
Download Java Version 8 For Mac Os
The reason you’re receiving this message is due to the removal of Java support in newer versions of OS X for security reasons. Older software such as Adobe Photoshop and Illustrator requires legacy Java support. Without a compatible Java command-line tool for these software, you’ll get this pop-up every time you turn on your Mac computer.
When you visit the download website to update Java, you find that the issue isn’t resolved! You’re still getting the same pop-up. This isn’t a complicated issue to fix, but it is an indirect one. The problem is that you’re not being routed to the correct download website when you click “More Info.”
Apple could have remedied this issue by programming the “More Info” button to direct you to the right fix. Here are the steps you can take to finally rid yourself of this pop-up:
Fix Java Command-Line Tool Pop-Up on Mac OS X
- Download Java for OS X 2017-001 aka Apple’s version of Legacy Java Command-line tool.
- Mount the .dmg disk image file and install Java 6 runtime for OS X.
- Restart your Mac and enjoy the absence of this Java command-line tool error pop-up!