Home  >  Article  >  Java  >  Where is java installed?

Where is java installed?

尚
Original
2019-12-04 10:14:287418browse

Where is java installed?

Without manual modification, jdk will be installed to C:\Program Files(x86)\Java\jdk_version according to the downloaded version (32-bit or 64-bit) number and C:\Program Files\Java\jdk_ version number, the installation directory can be modified.

jre (Java Runtime Environment, runtime environment) is installed to C:\Program Files(x86)\Java\jre_version number (32-bit) by default. Similarly, 64-bit is installed to C:\ Program Files\Java\jre_version number, you can also change the directory.

After the installation is complete, enter the environment variables of the advanced system settings to configure the java environment variables. They can be used only after configuration.

How to check the java installation path: (Recommended: java video tutorial)

In the window environment, we first execute the java -version command to check whether java has been configured If the java version is found, it proves that it has been installed and configured, then we can proceed to the next step.

Where is java installed?

When jdk has been configured, execute the java -verbose command. You can see the jdk installation path in the last two lines of the printed text, as shown below.

Where is java installed?For more java knowledge, please pay attention to the java basic tutorial column.

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