JDK下载地址:
https://www.oracle.com/technetwork/java/javase/downloads/jdk11-downloads-5066655.html
JDK API在线文档
https://www.oracle.com/technetwork/java/api-141528.html
https://docs.oracle.com/javase/9/docs/api/overview-summary.html
https://docs.oracle.com/javase/8/docs/api/
https://docs.oracle.com/javaee/6/api/
https://docs.oracle.com/javafx/2/api/index.html
教程
https://docs.oracle.com/javase/tutorial/
JDK11 离线文档下载
https://www.oracle.com/technetwork/java/javase/documentation/jdk11-doc-downloads-5097203.html
JDK 8 离线文档下载,含 Java SE,JavaFx API
https://www.oracle.com/technetwork/java/javase/documentation/jdk8-doc-downloads-2133158.html
配置环境变量
计算机属性》高级系统设置-》高级-》环境变量-》Administrator的用户变量
CLASSPATH=.;C:\Program Files\Java\jdk1.8.0_131\lib\tools.jar;C:\Program Files\Java\jdk1.8.0_131\lib\dt.jar
JAVA_HOME=C:\Program Files\Java\jdk1.8.0_131
PATH=C:\Program Files\Java\jdk1.8.0_131\bin
内存参数
JAVA_OPTS=-Xmx128m -Xms256m -Xmn2M -Xss128k