1.进入Oracle官网:https://www.oracle.com/index.html
2.点击进入All Java Downloads
3.点击进入就可以看到jdk和documentation,然后自行下载
Oracle Java Archive
历史版本下载:http://www.oracle.com/technetwork/java/archive-139210.html
jdk8:http://www.oracle.com/technetwork/java/javase/downloads/java-archive-javase8-2177648.html
jdk7:http://www.oracle.com/technetwork/java/javase/downloads/java-archive-downloads-javase7-521261.html
jdk6:http://www.oracle.com/technetwork/java/javase/downloads/java-archive-downloads-javase6-419409.html
这里建议大家选择比较常用的jdk7,避免版本过高或过低导致的版本兼容等问题。