Let me understand clearly. You are saying that in order to install the Java JDK I have to install Python?

0

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
0

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?

0

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

0

Thank you.

I googled and I found that I can install OpenJDK 7 with

sudo apt-get install openjdk-7-jre
sudo apt-get install openjdk-7-jdk

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

0

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.

0

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

0
Avatar
Permanently deleted user

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:

  1. <path_to_extracted_java>/bin/javaws" 1 
  2. <path_to_extracted_java>/bin/java"
    sudo update-alternatives --set "javaws" "<path_to_extracted_java>/bin/javaws"


This is for the JRE.
There are additional steps for the full JDK:

sudo update-alternatives --install "/usr/bin/javac" "javac" "<path_to_extracted_java>/bin/javac" 1
sudo update-alternatives --install "/usr/bin/jar" "jar" "<path_to_extracted_java>/bin/jar" 1
sudo update-alternatives --set "javac" "<path_to_extracted_java>/bin/javac"
<path_to_extracted_java>/bin/jar"

0

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

1

请先登录再写评论。