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?

 

 

0
4 comments

Are you running under x86 OS?

0

No.This is a 64 bit environment.

 

0

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.

0
Avatar
Vladimir Luchansky

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.

0

Please sign in to leave a comment.