In-depth understanding of configuring environment variables in Java

Source: Internet
Author: User
In-depth understanding of the purpose of configuring environment variable configuration in Java:

Java SDK commands such as Java.exe,javac.exe,jar.exe,javadoc.exe can be run only at the bin where the JDK is installed, and we now want to run these commands in all directories.

Solution for configuration:

Place this directory in the Windows environment variable path

The process of finding the desired command:

If you want to run the Javac.exe command, first in your own folder to find out if this, do not go to the computer path inside to find

Popular Understanding:

The process of configuring classpath is like the process of having money in a bank and then taking it directly from the bank when we need it around the world. The process of using the required command: just like when we need money, first in their own position to see if there is no direct to the bank to take

In-depth understanding of configuring environment variables in Java

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.