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?

  • @alexander barakin thanks of course, but I kind of said that I was in google. Here you can say that I need from this all by reference? - vas
  • you need to install any of the jdk-s and take care of the presence of the JAVA_HOME environment variable. All this is described at the specified link. - aleksandr barakin
  • @alexander barakin thanks, really started. - vas
  • Please describe what you did in response. it may be useful to others. - aleksandr barakin

2 answers 2

a detailed presentation can be read here .


briefly:

  1. update the package list:

     $ sudo apt-get update 
  2. Install the default-jdk meta-package (both openjdk and openjdk-jre will be installed according to dependencies):

     $ sudo apt-get install default-jdk 
  3. 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.

  • Fu, Open JDK: C - Suvitruf

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.