Java For Mac Version 8

This answer is an attempt to address: how to control java version system-wide (not just in currently running shell) when several versions of JDK are installed for development purposes on macOS El Capitan or newer (Sierra, High Sierra, Mojave).As far as I can tell, none of the current answers do that (.). As a developer, I use several JDKs, and I want to switch from one to the other easily. Get Java for your Mac. 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.

Java Runtime Environment for Mac (JRE for Mac) allows you to play online games, chat with people around the world, calculate your mortgage interest, and view images in 3D, just to name a few. It's also integral to the intranet applications and other e-business solutions that are the foundation of corporate computing.
The Java Runtime Environment for macOS (JRE) provides the libraries, the Java Virtual Machine, and other components to run applets and applications written in the Java programming language. In addition, two key deployment technologies are part of the JRE: Java Plug-in, which enables applets to run in popular browsers; and Java Web Start, which deploys standalone applications over a network. Many cross platform applications also require Java to operate properly.
Note: Requires 64-bit web browser. Administrator privileges for installation.
Also Available: Download Java Runtime Environment for Windows