Running PyCharm on Ubuntu 9.1


I'm struggling with running PyCharm on Ubuntu 9.1. When I run file, I'm getting the following error message:

"ERROR: cannot start PyCharm.
No JDK found to run PyCharm. Please validate either PYCHARM_JDK or JDK_HOME points to valid JDK installation
exec: 103: /bin/java: not found"

I downloaded and extracted Java SE Development Kit 6u21 for Linux and changed

"PYCHARM_JDK=$JDK_HOME" line at file to "PYCHARM_JDK='/home/name/JDK6u21'".

Now, I'm getting another error:

"Exception in thread "main" java.lang.NoClassDefFoundError: com/intellij/idea/Main
Caused by: java.lang.ClassNotFoundException: com.intellij.idea.Main
at Method)
at java.lang.ClassLoader.loadClass(
at sun.misc.Launcher$AppClassLoader.loadClass(
at java.lang.ClassLoader.loadClass(
Could not find the main class: com.intellij.idea.Main.  Program will exit."

Can someone help me out with this issue please?

Thank you very much!

Kind Regards,


Please sign in to leave a comment.