How to Check the Installed Java Version - MegaMek/megamek GitHub Wiki
How to Check the Installed Java Version
Checking Java Version on Windows
-
Open Command Prompt:
- Press
Windows Key + R
to open the Run dialog. - Type
cmd
and pressEnter
.
- Press
-
Check Java Version:
- In the Command Prompt window, type
java -version
and pressEnter
. - The version of Java installed will be displayed.
- In the Command Prompt window, type
Checking Java Version on macOS
-
Open Terminal:
- Press
Command + Space
to open Spotlight Search. - Type
Terminal
and pressEnter
.
- Press
-
Check Java Version:
- In the Terminal window, type
java -version
and pressEnter
. - The version of Java installed will be displayed.
- In the Terminal window, type
Checking Java Version on Linux
-
Open Terminal:
- Press
Ctrl + Alt + T
to open the Terminal.
- Press
-
Check Java Version:
- In the Terminal window, type
java -version
and pressEnter
. - The version of Java installed will be displayed.
- In the Terminal window, type