I downloaded the webstorm, unpacked it in /home/user/ , run webstorm.sh
No JDK found. Please validate either JDK_HOME or JAVA_HOME.
Got into Google, tried all the tips and all the best. What to do to start the webstorm?
a detailed presentation can be read here .
briefly:
update the package list:
$ sudo apt-get update Install the default-jdk meta-package (both openjdk and openjdk-jre will be installed according to dependencies):
$ sudo apt-get install default-jdk The setting of the JAVA_HOME environment variable is also mentioned in detail. This may require in some cases, but not in this, described in the question.
I wrote not so long ago about a quick installation of jdk.
Create a script with the following content:
echo 'Install Java...' &&\ wget --no-check-certificate --no-cookies --header "Cookie: oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/8u66-b17/jdk-8u66-linux-x64.tar.gz &&\ sudo mkdir /usr/lib/jvm &&\ sudo mkdir /usr/lib/jvm/jdk &&\ tar -xvf jdk-8u66-linux-x64.tar.gz -C /usr/lib/jvm/jdk &&\ ls /usr/lib/jvm/jdk/ &&\ update-alternatives --install /usr/bin/java java /usr/lib/jvm/jdk/jdk1.8.0_66/bin/java 100 &&\ rm -rf /var/lib/apt/lists/* &&\ rm -rf /var/cache/oracle-jdk8-installer And run it. Install the latest version of Oracle jdk.
Source: https://ru.stackoverflow.com/questions/469598/
All Articles
JAVA_HOMEenvironment variable. All this is described at the specified link. - aleksandr barakin