Java Basic Learning--1. Environment Construction (System Win10,64bit)

Source: Internet
Author: User

Although the teacher taught Java in the university, I didn't learn it. Later work, intermittent also met the Java project, are pulled over to dry rhythm. There is no systematic study of it.

From today on the system to learn to tidy up Java, and then meet the Java project, the heart is also practical point. We are also serious learned people, hair blog as a note, there are insufficient places, we have a lot of advice, first here thank you.

1. Install the JDK in the first step of the environment.

The JDK is an abbreviation for the Java SDK (Java Development Kit).

The JDK is a collection of tools that are necessary to compile Java source code, run Java programs, such as JVMS, base class libraries, compilers, packaging tools, and so on. To be a Java programmer, the JDK is the most basic tool.

My local machine is 64-bit, so the installation is jdk-7u79-windows-x64

Http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html

Then double-click the default installation

The JDK includes the contents, see in detail.

2. Environment build The second step, configure environment variables.

Append environment variables

Java_home C:\Program files\java\jdk1.7.0_79

ClassPath.; %java_home%\bin;%java_home%\lib\dt.jar;%java_home%\lib\tools.jar

The existing environment variable is appended to the path;%java_home%\bin;%java_home%\jre\bin

About the specific significance of environmental variables, the next time, I first contact with the time quite do not understand, so it is better to tidy up, there is not much to say.

Then test whether the environment variable is set successfully

Open cmd

Input Javac–version

Input Java

The above picture comes out, that is OK.

I'll write it down here today.

Let's take a look at the environment variables related, and the installation of eclipse in detail tomorrow.

Java Basic Learning--1. Environment Construction (System Win10,64bit)

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.