Installing PhpStorm on Ubuntu desktop
I try to install PhpStorm on Ubuntu and I have the Java JRE and the PhpStorm extracted tar file. But when I try to run phpstorm.sh I get
/opt/java/jre1.7.0_79/bin/java: 1: /opt/java/jre1.7.0_79/bin/java: Syntax error: end of file unexpected (expecting ")")
Also I don't see any instructions on adding PhpStorm as a "lauchable" item to the desktop.
Ideas?
请先登录再写评论。
Are you running under x86 OS?
No.This is a 64 bit environment.
For some reason you are obviously launching PhpStorm under Oracle JDK.
Could you please download IntelliJ JDK and try using it?
As for the desktop entry, you can create it by Tools | Create Desktop Entry.
Hello,
Also, do you have any environment variables set for Java like JAVA_HOME or similar?
PhpStorm might react to these. Latest versions are always accompanied with the custom JDK so unless there's any system-wide configurations, there should be no problems.