Under centos6.2 under Installation Phpstorm
Startup error:unable to detect graphics environment
The version of JDK installed is 1.7. 0_79 Use 1.8. 0_25 The problem occurs, and then replace 1.7. 0_79 And then there's the problem.
The version of Phpstorm is phpstorm-9.0. 2. tar. GZ
Then add the environment variable
Export display=:0.0
After running under phpstorm/bin ./phpstorm. SH is good, the command window may have some errors, this time do not have to worry about him
In the graphical interface window can see Phpstorm let you enter the key, this will buy it yourself, that is, the installation was successful.
And then when the graphical interface opens Phpstorm, it appears again.
Error:cannot start Phpstormno JDK found. Please validate either WEBIDE_JDK, jdk_home or java_home environment variable points to valid JDK installation.
Linux installation Phpstorm appears Startup error:unable to detect graphics environment