Ubuntu – No JDK found during WebStorm installation

idejdk

After extracting the tar.gz, and $ cd ~/<directory>/WebStorm-141.1550/bin
and after typing in the terminal $ sudo ./webstorm.sh as explained,
I get an ERROR massage:

No JDK found. Please validate either WEBIDE_JDK, JDK_HOME or JAVA_HOME
environment variable points to valid JDK installation.

What is that JDK and what version should I choose?
(JetBrain support)

thanks.

Best Answer

JDK stands for Java Development Kit :

The Java Development Kit (JDK) is an implementation of either one of the Java SE, Java EE or Java ME platforms released by Oracle Corporation in the form of a binary product. The JDK includes a private JVM and a few other resources to finish the recipe to a Java Application.
Via Wikipedia


I advise you to use the Java 8 JDK. You can get it by installing Java 8 on your computer :

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer

Once installed relaunch WebStorm - it will work fine.


See on the Ubuntu Java Documentation for more informations.