This illustration shows the command-line interface, where you enter the java -version command to verify the installed Java version.