Home >Java >Javagetting Started >What is java path?

What is java path?

angryTom
angryTomOriginal
2020-02-04 09:51:062847browse

What is java path?

What is java path?

Java path refers to the location of the Java executable file in the system, usually Java installation path\jdk\bin\java.exe.

In the bin path, there are not only java.exe files, but also javaw.exe and javaws.exe files, which are also Java executable files.

What is java path?

##java, javaw, and javaws are the startup devices of java. java.exe is often used. When using the command line to output to the window , there will be a java.exe process.

javaw.exe is special to us. We can also see the running of the javaw.exe process through the task manager.

javaws is usually the process when the web is started.

There is another difference between the two running modes of java.exe and javaw.exe. After java runs the GUI, it blocks there until the window is closed. After javaw runs the GUI, you can directly run the next command.

javaws.exe process is suitable for starting programs configured through the web. In short, it is used in web applications.

Summary:

java.exe is used to start the window console console program

javaw.exe is used to start the GUI program

javaws.exe is used for web programs.

Recommended related articles and tutorials:

java introductory tutorial

The above is the detailed content of What is java path?. 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