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

2020-04-04 17:22:56 +08:00
 ssewhy

除了重装系统之外

以下的 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)

3504 次点击
所在节点    问与答
10 条回复
niubee1
2020-04-04 17:26:11 +08:00
正版还是盗版?
ssewhy
2020-04-04 17:26:57 +08:00
@niubee1 正版,官网下的
lpd0155
2020-04-04 17:27:23 +08:00
是不是装了什么插件之类的,或者修改了 VM 文件?
niubee1
2020-04-04 17:28:38 +08:00
什么 Lisence ?我是按月订阅付费的,没有遇到此类问题,你升级前是能打开的么?看错误看起来是 JDK 坏了
ssewhy
2020-04-04 17:30:44 +08:00
@niubee1 打不开,都还没到填激活码那一步,jdk 安装是成功的,不过双击这个 pycharm.bat 文件可以正常打开,.exe 不行
niubee1
2020-04-04 17:30:51 +08:00
试试重装 JDK
ssewhy
2020-04-04 17:31:55 +08:00
@lpd0155 啥也没干,直接打开的
ssewhy
2020-04-04 17:32:30 +08:00
@niubee1 俺试过了,不行,很奇怪,第一次遇到
ssewhy
2020-04-04 17:33:15 +08:00
看错误是 llij.ide.plugins.PluginManager - Could not initialize class java.awt.Color
gejun123456
2020-04-05 07:48:21 +08:00
@ssewhy jvm 的问题 你下的是哪个版本 来个截图

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/659388

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX