Hacker News new | ask | show | jobs
by 9emE0iL18gxCqLT 4630 days ago
It runs fine in OpenJDK, at least in my case.

(ArchLinux x86_64 https://www.archlinux.org/packages/extra/x86_64/jre7-openjdk...)

Anyway, you can always download Java from the Oracle Downloads website and put it somewhere in your home directory and just define these variables in ~/.bashrc:

export JAVA_HOME="/home/username/Software/Java/jdkx.y.z_w/"

export JRE_HOME="$JAVA_HOME/jre"

export JDK_HOME="$JAVA_HOME"

export PHP_STORM_HOME="/home/username/Software/PHP/PhpStorm-x.y/"

export PATH="$PATH:$JAVA_HOME/bin:$PHP_STORM_HOME/bin"

. ~/.bashrc

phpstorm.sh > /dev/null 2>&1 &

echo "Enjoy the ride"

1 comments

I'll try it on Fedora on the Open JDK and see how it goes. Right now I'm using Sublime and love it, but many of my colleagues are encouraging me to try PHPStorm.
Well I can confirm that it does appear to work on Fedora 19 using the Open JDK, but it is slow on my machine (i7 with 8GB of RAM and an SSD). In fairness though it does make it clear with this warning message when you run it that this is to be expected:

"./phpstorm.sh WARNING: You are launching the IDE using OpenJDK Java runtime.

         ITS KNOWN TO HAVE PERFORMANCE AND GRAPHICS ISSUES!
         SWITCH TO THE ORACLE(SUN) JDK BEFORE REPORTING PROBLEMS!
NOTE: If you have both Oracle (Sun) JDK and OpenJDK installed please validate either WEBIDE_JDK, JDK_HOME, or JAVA_HOME environment variable points to valid Oracle (Sun) JDK installation. See http://ow.ly/6TuKQ for more info on switching default JDK."

So yeah, I guess they weren't kidding in their list of requirements. Oracle JDK or suffer a degraded performance.