Exception in thread "main" java.lang.NoClassDefFoundError - Not able to start PyCharm

I just have got Pycharm Professional Edition and I am facing the following error message when I try to run `./pycharm.sh`:

 

Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=350m; support was removed in 8.0
Exception in thread "main" java.lang.NoClassDefFoundError: com/intellij/openapi/util/SystemInfo
at com.intellij.idea.Main.main(Main.java:84)
Caused by: java.lang.ClassNotFoundException: com.intellij.openapi.util.SystemInfo
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 1 more

 

I have been using PyCharm community Edition and it is working completely file. I have no idea why this message is appearing.

 

$ java -version
openjdk version "1.8.0_91"
OpenJDK Runtime Environment (build 1.8.0_91-8u91-b14-0ubuntu4~16.04.1-b14)
OpenJDK 64-Bit Server VM (build 25.91-b14, mixed mode)

$ which java
/usr/bin/java

1 comment
Comment actions Permalink

Well, I don't know what happened. I downloaded the .tar again and it worked. Go figure...

0

Please sign in to leave a comment.