Edit the ist file within to enable the JRE to be used from the the command line, and from bundled applications: defaults write `pwd`/Contents/ist JavaVM -dict-add 'JVMCapabilities' 'JNIBundledAppCommandLine' Tar -xzf `ls -1r jre-*-macosx-圆4.tar.gz | head -1` Go to your Downloads folder and extract the JRE download or use Terminal to extract files: cd Downloads
You should end up with a file named something similar to jre-8u65-macosx-圆4.tar.gz. Step 1. Open Safari and go to the Oracle Java downloads page and download the JRE. Here’s how you can install JRE (Java Runtime Environment). Java is, and always has been, the source of many security holes. If you do not need Java, you should not install Java. 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. 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.