installation problem

Hello,

I downloaded the tar.gz file on OpenSuse.

After that I untar it and went to pycharm-1.0/bin

Then sh pycharm and see this message :

ERROR: cannot start PyCharm.
No JDK found to run PyCharm. Please validate either PYCHARM_JDK or JDK_HOME points to valid JDK installation
pycharm.sh: regel 86: [false: opdracht niet gevonden
pycharm.sh: regel 108: /bin/java: Bestand of map bestaat niet
pycharm.sh: regel 108: exec: Kan /bin/java niet uitvoeren: Bestand of map bestaat niet

I know that java can be found at /usr/bin/java

Where do I change that.

Roelof

2 comments
Comment actions Permalink

Hello,

In case if you launching PyCharm from terminal please use command:

export JDK_HOME=/usr/bin/java

You can either add this line to your ~/.bashrc file or directly to the pycharm.sh file.

Hope this helps,

Oleg

0
Comment actions Permalink

Hello Oleg,

Thanks.

export JDK_HOME = /usr did the trick.

Roelof

0

Please sign in to leave a comment.