启动IntelliJ IDEA 2016报错:cannot start under Java 1.7 : Java 1.8 or later is required

I1、安装jdk8
2、配置环境变量 IDEA_JDK_64
指向 jdk8目录,这样能正常启动idea64
其实就是欺骗idea,真实jdk环境变量还是指向JAVA_HOME
启动IntelliJ IDEA 2016报错:cannot start under Java 1.7 : Java 1.8 or later is required_第1张图片

idea64.exe uses this JDK search sequence:

IDEA_JDK_64 environment variable
..\jre64 directory
system Registry
JDK_HOME environment variable
JAVA_HOME environment variable

JAVA_HOME必须设置成JDK8,这样对其它的软件可能就有影响了。它优先读取的是IDEA_JDK_64,依此往下。没动JAVA_HOME。就加了个JDEA_JDK_64搞定啦。这个设置只对IEDA有效

你可能感兴趣的:(工具)