Windows
| System Requirements | Installation |
|---|---|
|
|
MacOS
| System Requirements | Installation |
|---|---|
|
|
Linux
| System Requirements | Installation |
|---|---|
|
|
-
Use the Debian repository. In the Command prompt, type the following sequence of commands:
- sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
- sudo apt-get update
- sudo apt-get install sun-java6-jdk sun-java6-jre sun-java6-plugin
- java -version to check that installation is successful.
-
Download and install JDK 1.6 from Oracle official site.
-
Download Oracle (Sun) JDK 1.6
for not RPM-based platforms.
-
Follow the installation instructions
.
-
Specify the directory where JDK is installed through the JAVA_HOME
variable.
-
Download Oracle (Sun) JDK 1.6
Running PhpStorm using the OpenJDK Java runtime is not supported.
If you have not previously installed Oracle (Sun) JDK 1.6
or higher,
it is strongly recommended that you switch to it.
OpenJDK is included in a number or popular Linux distributions. The procedure below explains how to switch to Oracle (Sun) JDK 1.6 in Ubuntu.
-
Enable the Canonical Partner Software through the following steps:
-
Go to Ubuntu Software Center
.
- Click Edit.
- Click Software Sources.
- Switch to the Other Software tab and click Canonical Partners. This may take some time.
-
Go to Ubuntu Software Center
-
In the Command prompt, type the following sequence of commands:
- sudo apt-get update
- sudo apt-get install sun-java6-jdk sun-java6-jre sun-java6-plugin
- sudo update-alternatives -–config java
