Home >Java >JavaBase >Check what java version is

Check what java version is

hzc
hzcOriginal
2020-07-04 15:10:084519browse

The method to check the java version is: first open the computer desktop, use the shortcut key [win R] to enter cmd to bring up the window; then enter [java -version] in the window; finally press Enter to view the version.

Check what java version is

We can use the -version parameter to view the current running version of Java. The command is as follows: java -version
The output result of the above code example is:
java version “1.6.0_13”Java(TM) SE Runtime Environment (build 1.6.0_13-b03)Java HotSpot(TM) Client VM (build 11.3-b02, mixed mode, sharing)

Recommended tutorial: "java tutorial"

The above is the detailed content of Check what java version is. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn