Java Development Environment preparation and java Development Environment

Source: Internet
Author: User

Java Development Environment preparation and java Development Environment

Java Development Environment preparation

Here, we will mainly talk about JDK configuration. JDK installation is the same as general application software installation. You can download and install JDK, but it is only available after installation. I believe that many beginners, just like me at the beginning, will directly click the Java icon on the desktop after JDK is installed. This behavior looks cute, but even for the current great Bull, he may have done the same thing before, but it is not funny. It is normal for every beginner. The reason why I focus on JDK configuration is really annoying. In fact, you only need to set the path for environment variable configuration. classpath can be ignored. The following is a specific illustration.

1. Copy the JDK installation path.

Find the bin folder of the JDK tool you installed, and copy the path of the folder. Take my configuration as an example. The bin folder path is C: \ Program Files \ Java \ jdk \ bin.

 2. Right-click "my computer" and choose "properties"> "advanced"> "environment variable ".

3. Open the environment variable. If there is no path in the "user variable", create a new path, paste the installation path of the bin folder you just copied in path and press "OK" in "variable value.

 

If path already exists in your "User variable", double-click the path to open it, and copy the path of the bin folder to the beginning of other paths in the "variable value, add a semicolon and a dot after the path.

4. Check whether JDK is correctly configured.

Go to the program named "attachment", and enter java in DOS. The following English list is displayed:

Then, enter javac, and the following list of Chinese characters is displayed:

Http://my.oschina.net/mkh/blog/340689

 

You are welcome to repost original articles. Please indicate the source when reprinting.

  Recommended articles by the author:

Java self-learning approach

Some suggestions for programmers

Summary five sort algorithms that are more efficient and commonly used

How to obtain system information

How to generate a QR code

 

Related Article

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.