[英]How to create Java 8 project in IntelliJ IDEA 13.1?
I want to try IntelliJ IDEA 13.1, so I've installed the enterprise edition for evaluation. 我想尝试IntelliJ IDEA 13.1,所以我安装了企业版进行评估。 Also, I have installed JDK8u11 64 bit.
另外,我已经安装了JDK8u11 64位。 I am using Windows 8.1.
我使用的是Windows 8.1。
When I try to create new project, I need to select JDK. 当我尝试创建新项目时,我需要选择JDK。 I am able to choose JDK7, but JDK8 is not accepted with message "The selected directory is not a valid home for JDK".
我可以选择JDK7,但不接受JDK8消息“所选目录不是JDK的有效主页”。
Based on "The selected directory is not a valid home for JDK" Android Studio I've set JAVA_HOME to point to C:\\Software\\Java\\jdk1.8.0 where JDK8u11 is installed, with no effect. 基于“所选目录不是JDK的有效主页”Android Studio我已将JAVA_HOME设置为指向安装了JDK8u11的C:\\ Software \\ Java \\ jdk1.8.0,但没有任何效果。 I have also run IntelliJ IDEA in Administrator mode, without success.
我也在管理员模式下运行IntelliJ IDEA,但没有成功。
I'm a bit stuck here. 我有点卡在这里。 Am I missing something?
我错过了什么吗?
A copy of my answer in the comments so that @tptak can graciously give me credit for the correct answer. 我在评论中的答案副本,以便@tptak可以慷慨地给我正确的答案。 Thanks.
谢谢。
Make sure the dir you select has the bin
, jre
and lib
directories. 确保您选择的目录具有
bin
, jre
和lib
目录。 Could you have a double jdk1.8.0 dir name (or some such thing) from an error when setting the install dir during install? 在安装期间设置安装目录时,您是否可以从错误中获得双重jdk1.8.0目录名称(或某些此类内容)?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.