How do I check what version of Java I have installed?

8

3

I want to check what version of Java is installed on my PC before installing the latest Java update. How can I do this?

Stevoisiak

Posted 2017-06-20T14:30:36.287

Reputation: 8 152

Answers

10

You can check your version of Java with any of the following methods.


Java Control Panel (Windows)

  1. Open the Start Menu and select Control Panel.
  2. From the Control Panel, select Programs -> Java to open the Java Control Panel.

Control Panel -> Programs -> Java

  1. Select About to view your current version of Java.

Java version from Java Control Panel


Command Line (Windows)

  1. Press ⊞ Win+R and type cmd to open the Command Prompt.

Opening CMD with Run tool

  1. Type java -version and press Enter

Java version from command line


Control Panel (Windows)

Note: This method may give inaccurate results if Java's PATH has not been updated.

  1. Open the Start Menu and select Control Panel.
  2. From the Control Panel, select Programs -> Programs and Features.
  3. Scroll down the list of programs until you find the most recently installed version of Java

Java version from Windows Control Panel


Terminal (MacOS)

  1. In the Finder, search for Terminal and launch Terminal.app

Searching for Terminal.app in Finder

  1. Type java -version and press Enter

Java version in MacOS terminal


Sources

Stevoisiak

Posted 2017-06-20T14:30:36.287

Reputation: 8 152

These methods show different versions even on the same machine. Some say v7.0, some say v1.7... – mblakesley – 2020-02-19T02:26:20.213