I'm trying out PHPStorm on openSUSE, and it requires the Sun Java JDK which doesn't come by default. I installed the Sun JDK based on directions here.
I can run PHPStorm file as
root user after that procedure but when I try to run it under my user account I get an error saying that Java is not found.
The solution I'm using is to add the following to the top of the
I'm wondering if this is the best way to accomplish this or if there is a better/cleaner way to do it?