Unsupported Java Version: Cannot start under Java 1.7: Java 1.8 or later is required
Set IDEA_JDK
(or IDEA_JDK_64
) environment variable.
Check Selecting the JDK version the IDE will run under
TL;DR --> Set JAVA_HOME to C:\Program Files\Java\jdk1.8.0_51
Java 8 is required to run IntelliJ IDEA starting from version 16 on all the supported platforms.
The actual JDK version used by the IDE can be verified in Help | About dialog (open any project to access the menu).
idea64.exe uses this JDK search in the following sequence:IDEA_JDK_64 environment variable..\jre64 directorysystem RegistryJDK_HOME environment variableJAVA_HOME environment variable
Under Arch Linux you can simply set java 8 as default (you must have it installed):
$ sudo archlinux-java set java-8-openjdk