Tips:idea 2016.2 的64位版本需要最低1.8的jdk,之前由于自己办公电脑安装的jdk1.6,所以想单独为idea安装jdk。
根据官方文档:
内容如下:
idea64.exe uses this JDK search sequence:
- IDEA_JDK_64 environment variable
- ..\jre64 directory
- system Registry
- JDK_HOME environment variable
- JAVA_HOME environment variable
Environment variable must point to the JDK installation home directory, for example:
c:\Program Files (x86)\Java\jdk1.8.0_66
Use Rapid Environment Editor to add/edit the variables, it will detect incorrect paths.