First of all, you have to have a Java for Java programming.
At first, I searched Java directly on my home computer and went to the Java company page (http://www.java.com/zh_CN/) to download a java. But once installed, there is only one more Java item in the installer. Also on the Internet to find installation tutorials, there is a good:
Novice Installation Java Development tool Drawing Tutorial Full page _ cc software information
Http://www.cr173.com/html/18612_all.html
Go on to find a few professional terms that you often see:
Jdk
Ide
Find an answer in Baidu quiz:
IDE is an integrated development environment, is the tool you write code, you write code not to use Notepad it? With tools such as Eclipse, or Netbean, this is the IDE. JDK is used in Java programming library, such as you write programs, to use the integer class, the integer class is defined in the JDK, write the program to the JDK, no program compiled. The JDK is integrated in the Elipse, so there is no need to download it separately, but Eclipse is not a JDK. The JDK can only be downloaded to Orcale's official website: http://www.oracle.com/technetwork/java/javase/downloads/index.html and IDE This programming tool now has Eclipse and IntelliJ idea these two options. Also found an article on the comparison between the two:
Best of the Java IDE contention: Eclipse PK IntelliJ idea-csdn.net
http://www.csdn.net/article/2013-09-22/2816965
It seems that the latter is a little better.
Now wait for the installation to see how the effect.
JDK installation is relatively simple, all the way to the next click on it. It is a bit cumbersome to set environment variables after installation. I found two related articles in Baidu experience, which in total said to set up 3 environment variables:
Java_home:c:\program files\java\jdk1.8.0_45
Path:c:\program Files\java\jdk1.8.0_45\bin
Classpath:c:\program Files\java\jdk1.8.0_45\lib
(The above data is filled according to the installation path)
You can then check to see if the installation is correct by running-cmd-java-version or Javac.
JDK Installation Configuration Tutorial _ Baidu Experience
Http://jingyan.baidu.com/article/bea41d435bc695b4c41be648.html
Java Day Two: Installing the Java System