3.1.1   Checking Java Version

Type java -version at a console, or the command prompt in Windows. See Example 1.

Example 1   Input at a Console or Command Prompt

# java -version

Output from the command is similar to the following:

java version "1.8.0_162"

Java(TM) SE Runtime Environment (build 1.8.0_162-b12)

Java HotSpot(TM) 64-Bit Server VM (build 25.162-b12, mixed mode)

Java can be downloaded from http://www.oracle.com.