I installed Pycharm, which automatically created then a shortcut at the Applications Menu. But the shortcut does not work and shows the message
No JDK found. Please validate either PYCHARM_JDK, JDK_HOME or JAVA_HOME environment variable points to valid JDK installation.
But Java is installed:
java version "1.8.0_73"
Java(TM) SE Runtime Environment (build 1.8.0_73-b02)
Java HotSpot(TM) 64-Bit Server VM (build 25.73-b02, mixed mode).
Besides, if I run the script "pycharm.sh" from the command line, it works.