After Sun JDK 1.7.0_01 configured for OpenSuse 12.1, PhpStorm does not work, I think it invokes /usr/lib/jvm/bin/java, but I can not find the folder, so I use the following solution:

\$sudo ln -s /usr/lib/jdk1.7.0_01/ /usr/lib/jvm/java


Now it works.