How do I create a Java 8 project in IntelliJ IDEA 13.1?
I want to try IntelliJ IDEA 13.1, so I installed the enterprise version for evaluation. Also, I have installed JDK8u11 64 bit. I am using Windows 8.1.
When I try to create a new project, I need to select the JDK. I can select JDK7, but JDK8 is not accepted with the message "The selected directory is not a valid home for the JDK."
Based on "The selected directory is not a valid home for the JDK" Android Studio I set JAVA_HOME to point to C: \ Software \ Java \ jdk1.8.0 where JDK8u11 is installed with no effect. I also run IntelliJ IDEA in admin mode with no success.
I'm a little stuck here. Did I miss something?
source to share
A copy of my answer in the comments so that @tptak can kindly rate me for the correct answer. Thank.
Make sure the directory you choose has directories bin
, jre
and lib
. Could you please provide the dir name jdk1.8.0 (or something similar) from an error while installing the installation disk during installation?
source to share