Home >Java >javaTutorial >How to check java version

How to check java version

little bottle
little bottleOriginal
2019-05-21 18:49:1341132browse

Do you want to know the Java version, but don’t know how to check it? Then take a look at this article. The editor will take you to learn how to check the Java version, divided into Windows and Linux systems.

How to check java version

How to check the java version:

1. Under Windows system

1. Press the Windows key r key to pop up the run window. Enter cmd to open the command line window.

2. Enter java -version. Press Enter, as shown in the figure below, which is the JDK (that is, Java) version information.

How to check java version

2. Under the Linux system

Under the Linux system, also enter "java -version in the terminal window Terminal" ”, and then press Enter as shown in the figure below.

How to check java version

Related learning recommendations: java basic tutorial

The above is the detailed content of How to check java version. 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