V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
ssewhy
V2EX  ›  问与答

pycharm 2019.3.4 安装后双击无法打开,重装也没用,有什么解决办法吗?

  •  
  •   ssewhy · 2020-04-04 17:22:56 +08:00 · 3546 次点击
    这是一个创建于 1730 天前的主题,其中的信息可能已经有所发展或是发生改变。

    除了重装系统之外

    以下的 log 的报错信息

    2020-04-04 09:44:13,015 [ 0] INFO - #com.intellij.idea.Main - ------------------------------------------------------ IDE STARTED ------------------------------------------------------ 2020-04-04 09:44:13,080 [ 65] INFO - #com.intellij.idea.Main - JNA library (64-bit) loaded in 49 ms 2020-04-04 09:44:13,190 [ 175] INFO - penapi.util.io.win32.IdeaWin32 - Native filesystem for Windows is operational 2020-04-04 09:44:13,535 [ 520] WARN - #com.intellij.idea.Main - java.lang.UnsatisfiedLinkError: C:\Program Files\JetBrains\PyCharm 2019.3.4\jbr\bin\awt.dll: Can't find dependent libraries java.util.concurrent.ExecutionException: java.lang.UnsatisfiedLinkError: C:\Program Files\JetBrains\PyCharm 2019.3.4\jbr\bin\awt.dll: Can't find dependent libraries at java.base/java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:395) at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1999) at com.intellij.idea.StartupUtil.runInEdtAndWait(StartupUtil.java:678) at com.intellij.idea.StartupUtil.startApp(StartupUtil.java:227) at com.intellij.idea.StartupUtil.prepareApp(StartupUtil.java:213) at com.intellij.ide.plugins.MainRunner.lambda$start$0(MainRunner.java:45) at java.base/java.lang.Thread.run(Thread.java:834) Caused by: java.lang.UnsatisfiedLinkError: C:\Program Files\JetBrains\PyCharm 2019.3.4\jbr\bin\awt.dll: Can't find dependent libraries at java.base/java.lang.ClassLoader$NativeLibrary.load0(Native Method) at java.base/java.lang.ClassLoader$NativeLibrary.load(ClassLoader.java:2430) at java.base/java.lang.ClassLoader$NativeLibrary.loadLibrary(ClassLoader.java:2487) at java.base/java.lang.ClassLoader.loadLibrary0(ClassLoader.java:2684) at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2638) at java.base/java.lang.Runtime.loadLibrary0(Runtime.java:829) at java.base/java.lang.System.loadLibrary(System.java:1870) at java.desktop/java.awt.Toolkit$3.run(Toolkit.java:1395) at java.desktop/java.awt.Toolkit$3.run(Toolkit.java:1393) at java.base/java.security.AccessController.doPrivileged(Native Method) at java.desktop/java.awt.Toolkit.loadLibraries(Toolkit.java:1392) at java.desktop/java.awt.Toolkit.<clinit>(Toolkit.java:1430) at java.desktop/java.awt.EventQueue.invokeLater(EventQueue.java:1318) at com.intellij.idea.StartupUtil.lambda$scheduleInitUi$9(StartupUtil.java:265) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) ... 1 more 2020-04-04 09:44:13,549 [ 534] ERROR - llij.ide.plugins.PluginManager - Could not initialize class java.awt.Color java.lang.NoClassDefFoundError: Could not initialize class java.awt.Color at com.intellij.openapi.application.impl.ApplicationInfoImpl.<init>(ApplicationInfoImpl.java:70) at com.intellij.openapi.application.impl.ApplicationInfoImpl.getShadowInstance(ApplicationInfoImpl.java:629) at com.intellij.idea.StartupUtil.showUserAgreementAndConsentsIfNeeded(StartupUtil.java:661) at com.intellij.idea.StartupUtil.startApp(StartupUtil.java:231) at com.intellij.idea.StartupUtil.prepareApp(StartupUtil.java:213) at com.intellij.ide.plugins.MainRunner.lambda$start$0(MainRunner.java:45) at java.base/java.lang.Thread.run(Thread.java:834)

    10 条回复    2020-04-05 07:48:21 +08:00
    niubee1
        1
    niubee1  
       2020-04-04 17:26:11 +08:00
    正版还是盗版?
    ssewhy
        2
    ssewhy  
    OP
       2020-04-04 17:26:57 +08:00
    @niubee1 正版,官网下的
    lpd0155
        3
    lpd0155  
       2020-04-04 17:27:23 +08:00 via Android
    是不是装了什么插件之类的,或者修改了 VM 文件?
    niubee1
        4
    niubee1  
       2020-04-04 17:28:38 +08:00
    什么 Lisence ?我是按月订阅付费的,没有遇到此类问题,你升级前是能打开的么?看错误看起来是 JDK 坏了
    ssewhy
        5
    ssewhy  
    OP
       2020-04-04 17:30:44 +08:00
    @niubee1 打不开,都还没到填激活码那一步,jdk 安装是成功的,不过双击这个 pycharm.bat 文件可以正常打开,.exe 不行
    niubee1
        6
    niubee1  
       2020-04-04 17:30:51 +08:00
    试试重装 JDK
    ssewhy
        7
    ssewhy  
    OP
       2020-04-04 17:31:55 +08:00
    @lpd0155 啥也没干,直接打开的
    ssewhy
        8
    ssewhy  
    OP
       2020-04-04 17:32:30 +08:00
    @niubee1 俺试过了,不行,很奇怪,第一次遇到
    ssewhy
        9
    ssewhy  
    OP
       2020-04-04 17:33:15 +08:00
    看错误是 llij.ide.plugins.PluginManager - Could not initialize class java.awt.Color
    gejun123456
        10
    gejun123456  
       2020-04-05 07:48:21 +08:00 via iPhone
    @ssewhy jvm 的问题 你下的是哪个版本 来个截图
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2618 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 11:25 · PVG 19:25 · LAX 03:25 · JFK 06:25
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.