Java environment variable Configuration

Source: Internet
Author: User

Objective

Each time the system is installed, you should check the Java environment variable configuration, after several configurations, and now also familiar with, so it is better to configure their own. Our. NET installation vs is a configuration of our path, so we don't have to worry about it. Although not the Java, but still familiar with the familiar, the configuration process familiar with the feeling will be forgotten slowly.

Body

The first step: next week the JDK document, is the Java time to use some of the class library some stuff ...

The second step: Configure the environment variables, which are all found, why you have to write, just want to record what they do and familiar with the process.

I have to computer-"properties-" Change Configuration-"advanced-" environment variable system variables in the new:

Variable name: java_home

Variable value: This is the local hard drive path installed by our JDK, it is not recommended to install to C drive. D:\Program files\java\jdk1.7.0_09 not behind the \

Variable name: CLASSPATH

Variable value:.; %java_home%\lib\dt.jar;%java_home%\lib\tools.jar; Percent of a variable name

The third step: Find the PATH variable, after the value of the variable,%java_home%\bin;%java_home%\jre\bin; put it back on it, pay attention to the beginning; if you are. NET development, or the value of the path variable is already configured, don't lose it.

Fourth step: Verify if it works, win+r cmd open our doc command box, enter Javac, case both OK.

At last

Configuration is complete, in fact quite simple, but I still familiar with several times before I know. Technology this thing, oneself must study to do. I feel a lot of things, not not, but we do not have contact with the work, but we can not because of the need to work contact to learn. When I woke up in the morning, I read an article from Cocoachina, "Why is technology always despised?" Don't do that! ", self-feeling, we are the elite development, the first 1th, they have to see themselves, do not feel that they can not, that others how to see. 2nd, not only the self-view of their own OK, we have to come up with some real skills to AH. We do this line to have passion for it, love it, the work of a lot of good technology is basically because of love to embark on this road. Do not think always thinking about management, technology is not long, if you want to do technology nothing can stop you.

If love please deep love, else please leave.

Java environment variable Configuration

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.