When I try to run pycharm it shows this error:
ERROR: Cannot start PyCharm
No JDK found. Please validate either PYCHARM_JDK, JDK_HOME or JAVA_HOME environment variable points to valid JDK installation.
I typed python into my terminal and it shows that I have python 3.4 installed, but pycharm cant access it.
How can I fix this?