Home > Java > javaTutorial > Java Instance - How to check the version of Java currently running?

Java Instance - How to check the version of Java currently running?

黄舟
Release: 2017-02-21 09:53:18
Original
1474 people have browsed it

We can use the -version parameter to view the current running version of Java. The command is as follows:

java -version
Copy after login

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)
Copy after login

The above is Java Example - How to check the current version of Java running? For more related content, please pay attention to the PHP Chinese website (www.php.cn)!


source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template