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.
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.
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!