在Fedora 21中安装Pycharm 4.0.4 Pro时出错

时间:2015-02-08 10:48:28

标签: python pycharm fedora

我是使用Linux系统的新手,我在安装PyCharm时遇到错误但无法将其排序。如果可能请帮助。

[ace139@localhost pycharm-4.0.4]$ cd bin
[ace139@localhost bin]$ ls
fsnotifier       inspect.sh              log.xml              pycharm.sh
fsnotifier64     libyjpagent-linux64.so  pycharm64.vmoptions  pycharm.vmoptions
idea.properties  libyjpagent-linux.so    pycharm.png
[ace139@localhost bin]$ ./pycharm.sh
OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=350m; support was removed in 8.0
[    200]  ERROR - nse.impl.GeneralLicenseManager - No valid license found 
java.lang.Throwable
    at com.intellij.openapi.diagnostic.Logger.error(Logger.java:115)
    at com.intellij.ide.a.g.bb.a(bb.java:107)
    at com.intellij.idea.MainImpl$1.start(MainImpl.java:47)
    at com.intellij.idea.StartupUtil.prepareAndStart(StartupUtil.java:105)
    at com.intellij.idea.MainImpl.start(MainImpl.java:42)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:483)
    at com.intellij.ide.plugins.PluginManager$2.run(PluginManager.java:91)
    at java.lang.Thread.run(Thread.java:745)
[    201]  ERROR - nse.impl.GeneralLicenseManager - PyCharm 4.0.4  Build #PY-139.1001 
[    201]  ERROR - nse.impl.GeneralLicenseManager - JDK: 1.8.0_31 
[    202]  ERROR - nse.impl.GeneralLicenseManager - VM: OpenJDK 64-Bit Server VM 
[    202]  ERROR - nse.impl.GeneralLicenseManager - Vendor: Oracle Corporation 
[    202]  ERROR - nse.impl.GeneralLicenseManager - OS: Linux 

3 个答案:

答案 0 :(得分:3)

有一篇文章处理这个问题。 http://oonlab.com/fix-install-pycharm-fedora-21.onto/

<强> TLDR:

sudo dnf install java-1.8.0-openjdk

我自己在Fedora 21和PyCharm 4上测试过。

答案 1 :(得分:0)

尝试备份〜。/。PyCharm40并删除该目录。

答案 2 :(得分:0)

我遇到了同样的问题,请尝试

yum install java-1.7.0-openjdk-devel

这将解决您的问题