Home > Java > Javagetting Started > How to check whether the java environment is installed

How to check whether the java environment is installed

王林
Release: 2020-02-05 15:54:08
Original
21891 people have browsed it

How to check whether the java environment is installed

1. Click the start menu and enter cmd

2. Enter java

How to check whether the java environment is installed

in the cmd window if The prompt "'java' is not an internal or external command, nor an operable program or batch file" means that JRE is not installed

(Recommended learning: java video tutorial)

If the prompt is as shown below:

How to check whether the java environment is installed

, it means that JRE has been installed

3. Enter java -version to view the java version

How to check whether the java environment is installed

For some users who have newly installed JRE, the environment variables have not been set. After entering java -version, it prompts "java-version' is not an internal or external command, nor is it an operable program or Batch file."

How to check whether the java environment is installed

Related article tutorial sharing: java introductory tutorial

The above is the detailed content of How to check whether the java environment is installed. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
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