Java 2 Standard Edition SDK (J2SE SDK)

To develop desktop Java applications or if you need a Java Runtime Environment (JRE) you can use the Java 2 Standard Edition Software Development Kit (J2SE SDK).

The latest J2SE SDK version can be downloaded from:

Quick guides

Installing Java 1.8.0 on macOS


Operating system used
macOS (Sierra) 10.12.3

Software prerequisites

  1. To install Java, type: brew cask install java

  2. To check if Java is installed correctly, open a terminal and type: java -version
    You should see:
    java version "1.8.0_121"
    Java(TM) SE Runtime Environment (build 1.8.0_121-b13)
    Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode)