====== JetBrains PhpStorm IDE ====== ==== Oracle Java7 ==== It is clearly stated that running PhpStorm requires Oracle Java6+, not OpenJDK that's initially available on Linux Mint LMDE. So you're first invited to visit [[applications:java:start|Developer Tools]] First you need to [[http://www.jetbrains.com/phpstorm/download/|download the tar.gz archive]] from Jetbrains web site. Note that if you are installing **IntelliJ IDEA**, you might have to: <code> > sudo apt-get update > sudo apt-get install open-jdk-7-jdk > nano $HOME/.bashrc ADD: ## IntelliJ IDEA - ensure JAVA_HOME points to JDK rather than JRE. export JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64 </code> ===== Install Application to /opt ===== You probably don't want this application to resides in your ~/Dowloads folder, cause that's probably not the best place to keep it. So we'll move it to the /opt directory, where it belongs. So **move the archive** using: <code> sudo mv /home/<username>/Downloads/PhpStorm-* /opt/ </code> Then **extract the archive**. Supposing it is now in the /opt directory, you need to execute the commands as superuser: <code> sudo cd /opt sudo tar xvfz PhpStorm-*.tar.gz </code> === Import existing license and configuration === In case you had a previous installation of PhpStorm and would like to transfer your license and configurations, copy your old **/home/<username>/.WebIdeXX** file to your current **/home/<username>/** directory. Then **launch the application**: <code> > /opt/PhpStorm-*/bin/phpstorm.sh </code> ==== Create a Shortcut in the Application Menu ==== You could use our [[tricks:application-shortcut|Create an Application Shortcut trick]] to create an application shortcut in the menu using: {{ :applications:devtools:launcher_properties-phpstorm.png?direct&200 |}} Althouh PhpStorm permits to do just that using the "Configure > Create Desktop Entry" menu. ==== Cleanup Before You Leave ==== The tar.gz archives still resides in the /opt directory, we can get rid of it now: <code> sudo rm /opt/PhpStorm-*.tar.gz </code>