How to Install Java in MacOS Sierra
You may be required to install Java to get something performed well under Mac OS X 10.12 – Sierra because Java is no longer installed with Sierra by default. How to do?
Safely Install Java in MacOS Sierra
We have two options: Install Java SE 6 from Apple or Install Java 8 from Oracle. You may need to disable System Integrity Protection (SIP) before installing Java.
Install Java SE 6 in MacOS Sierra from Apple
Here is the Java for OS X 2015-001.DMG from Apple to download.
Install Java 8 in Sierra from Oracle
Firstly, launch Terminal (found in Application/utilities), then enter the following command line to get the latest Java version.
Click on More info… button to go to the Java downloads page.