Seven years later, I will review the jdk environment configuration, and I will review the jdk later.

Source: Internet
Author: User

Seven years later, I will review the jdk environment configuration, and I will review the jdk later.

I think I have been working for a long time, but I haven't posted any post. I 've been chatting with other people's technologies on the Internet, so I feel very ashamed. Haha! Why? In fact, I still think that the document is too poor, so I have never dared to write a pen. Later I thought that I would like to take technical notes at work. I will simply put all the technical notes on my blog later, in this way, you can easily develop your own habit of writing notes. On the other hand, you can also share your solutions to problems. Haha, make progress together... Now, let's get started with my first technical blog!

Step 1: Download the jdk installation file from the official website of CMDL

Step 2: Install jdk and configure jdk Environment Variables

To configure environment variables, follow these steps:
1. After jdk is installed, add the following environment variables (JAVA_HOME, classpath, and path) to my computer> Properties> advanced> environment variables> system variables)

If jdk is installed in the default path C:/Program Files/Java/jdk1.7.0 _ 79, the corresponding JAVA_HOME, classpath, and path are configured according to the above default path:
JAVA_HOME = C:/Program Files/Java/jdk1.7.0 _ 79


Classpath =.; % JAVA_HOME % \ lib \ dt. jar; % JAVA_HOME % \ lib \ tools. jar; (.; must not be small, because it represents the current path)


Path = % JAVA_HOME % \ bin

 

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.