Problems with PyCharm in openSuSE 11.4 Follow
Dear All,
I have downloaded a trial version of PyCharm to test the code autocompletion. I'm unable to start PyCharm. This is what i get:
kabel@Kabel-pc:~/pycharm-1.2/bin> ./pycharm.sh
java version "1.5.0"
gij (GNU libgcj) version 4.5.1 20101208 [gcc-4_5-branch revision 167585]
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
./pycharm.sh: line 90: [: false: integer expression expected
Exception in thread "main" java.lang.NoClassDefFoundError: com.intellij.util.lang.ClassPath
at java.lang.Class.initializeClass(libgcj.so.11)
at com.intellij.util.lang.UrlClassLoader.<init>(UrlClassLoader.java:55)
at com.intellij.util.lang.UrlClassLoader.<init>(UrlClassLoader.java:49)
at com.intellij.ide.ClassloaderUtil.initClassloader(ClassloaderUtil.java:118)
at com.intellij.ide.Bootstrap.main(Bootstrap.java:39)
at com.intellij.ide.Bootstrap.main(Bootstrap.java:35)
at com.intellij.idea.Main.main(Main.java:55)
Caused by: java.lang.ClassNotFoundException: sun.misc.Resource not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:../lib/bootstrap.jar,file:../lib/util.jar,file:../lib/jdom.jar,file:../lib/log4j.jar,file:../lib/extensions.jar,file:../lib/trove4j.jar,file:./], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
at java.net.URLClassLoader.findClass(libgcj.so.11)
at java.lang.ClassLoader.loadClass(libgcj.so.11)
at java.lang.ClassLoader.loadClass(libgcj.so.11)
at java.lang.Class.initializeClass(libgcj.so.11)
...6 more
I do not understand what is the problem. Any help is appreciated.
Thanks,
Kabel
Please sign in to leave a comment.
> java version "1.5.0"
> gij (GNU libgcj) version 4.5.1 20101208 [gcc-4_5-branch revision 167585]
Your problem is that by default suse installs gcj which is a slightly incompatible java implementation.
uninstall gcj and install the java-1_6_0-sun packages.
zypper search java-1_6_0-sun for info on the packages to install.