Installing WebStorm on Ubuntu
I am trying to install WebStorm on Ubuntu as per: 'https://www.jetbrains.com/webstorm/help/system-requirements-and-installation.html#d385261e180' but the first step of installing the Java JDK I get a command not found error:
> sudo add-apt-repository . . . . .
sudo: add-apt-repository: command not found
Ideas?
请先登录再写评论。
This command is a part of
package. Seems you don't have it installed. See http://askubuntu.com/questions/38021/how-to-add-a-ppa-on-a-server, http://stackoverflow.com/questions/13018626/add-apt-repository-not-foundLet me understand clearly. You are saying that in order to install the Java JDK I have to install Python?
Now I am on step 3):
kevin@kevin-VirtualBox:~$ sudo apt-get install sun-java6-jdk sun-java6-jre sun-java6-plugin
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package sun-java6-jre is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
Package sun-java6-jdk is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'sun-java6-jdk' has no installation candidate
E: Package 'sun-java6-jre' has no installation candidate
E: Unable to locate package sun-java6-plugin
Are the instructions outdated?
Kevin
Please see http://askubuntu.com/questions/109209/sun-java6-plugin-has-no-installation-candidate
I am unclear how to proceed. It appears that because of license problems Java6 cannot be installed. What should I install and how? How does this affect the installation of WebStorm?
Once I have downloaded the Java JDK, where should I extract the contents to? The Oracle instructions just indicate that it should be extracted. I am not sure where the typical location should be? If I follow the instructions on the web-site (the url indicated earlier in this thread) I now get
$ sudo apt-get install sun-java6-jdk sun-java6-jre sun-java6-plugin
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package sun-java6-jre is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
Package sun-java6-jdk is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'sun-java6-jdk' has no installation candidate
E: Package 'sun-java6-jre' has no installation candidate
E: Unable to locate package sun-java6-plugin
Thank you.
Kevin
Thank you.
I googled and I found that I can install OpenJDK 7 with
Now WebStorm starts up but there is a message on the bottom that indicates OpenJDK 6 is not supported. As indicated I installed OpenJDK 7. Do I need to uninstall JDK 6? If so how? What is the reommended way to install WebStorm on Ubuntu? It seems that the documentation is out of date.
Thank you.
Kevin
Ping?
These instructions (the instructions for installing WebStorm on Ubuntu) need to be updated. Do I need the Oracle JDK? OpenJDK? Version?
And just so I follow convention where would be the best place to put things like WebStorm? Does it need a separate folder for configuration/settings?
Thank you for your help.
OpenJDK 1.7 is supported (but not 1.6). See the system requirements for Linux: "Oracle JRE 1.6+ or OpenJDK 1.7+".
You can extract the archive anywhere you like. Yes, WebStorm does need separate folders for configuration/settings, but it will be created automatically on the firdst start. Usually they are created in ~/.WebStorm*/ folder
The location of the extraced archive doesn't matter.
But a good place would be /opt/java/
Once it is extracted, you need to tell the system to use it:
This is for the JRE.
There are additional steps for the full JDK:
From the beginning. Starting with a downloaded tar file what do I need to do to install WebStorm on Ubuntu? Is there a way to pin the execution of WebStorm to the laucher like for all the other apps in Ubuntu and like "Start" for Windows?
Thank you.
Kevin