Eclipse和JDK版本对应关系
1.Eclipse 4.6 (Neon)—需要JDK1.8版本,官网解释如下
Eclipse 4.6 (Neon)isscheduled for release on June 22, 2016.
A Java 8 JRE/JDK is required to run all Neon packages based on Eclipse 4.6. The reasoning behind requiring Java 8 are discussedhere.
2.Eclipse 4.5 (Mars) —需要JDK1.7及以上版本,官网解释如下
Eclipse 4.5 (Mars) was released on June 24, 2015.
Consider using the new Installer! Please see 6 Steps to Install Eclipse.
A Java 7 JRE/JDK is required for all Mars package downloads based on Eclipse 4.5. Information concerning tested configurations for Eclipse 4.5 is providedhere.
3.Eclipse 4.4 (Luna) —需要JDK1.7及以上版本,官网解释如下
Eclipse 4.4 (Luna) was released on June 25, 2014.
A Java 7 JRE/JDK is required for most of the Luna package downloads based on Eclipse 4.4. Information concerning tested configurations for Eclipse 4.4 is providedhere.
4.Eclipse 4.3 (Kepler) —需要JDK1.6及以上版本,官网解释如下
Eclipse 4.3 (Kepler) was released in June 2013.
A Java 6 JRE/JDK is recommended for Eclipse 4.3. More information concerning tested configurations for Eclipse 4.3 is providedhere
PS:
在启动eclipse前,先检查安装的jdk版本,看是否满足eclipse运行的jdk版本。
常见报错:
大意是1.7版的JVM无法适用于此版本的eclipse, 需要一个1.8或者更高版本的JVM