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)