欢迎来到站长教程网!

PHP教程

当前位置:主页 > 网络编程 > PHP教程 >

解决PhpStorm64不能启动的问题

时间:2020-06-20|栏目:PHP教程|点击:

PhpStorm64不能启动问题的解决思路

用CSDN已经几年,却从来没有试过自己写内容,正逢IDE出问题无法解决,来写写博客😅积累一下我贫乏的写作经验。

作为一个phper,PhpStorm这款IDE无疑是功能最强大的。原先使用sublime的时候觉得界面好看就够了,而接触到PhpStorm以后我就基本不把sublime作为主力了(可能是我没装什么插件)。

可以方便查看函数参数信息,检错高亮等必备功能
远程同步服务器代码
docker容器/镜像直接可视化,并且支持docker-compose
自带git的可视化,都不用安装其他可视化工具了
。。。还有很多想不起来

在使用两个月Phpstorm后,成为了重度依赖患者,为了能流畅打开两个项目CV😂,并且打开多个chrome窗口看文档,我还把笔记本的单通道8g内存换成了16g。

但是昨天突然直接打不开,而且还不报错!😰
就是那种点了一点反应都没有,进程建立直接结束

但是32位在安装JDK32位以后是可以正常启动得,只有64位的无法启动
而且不仅是PhpStorm64.exe打不开,PyCharm64也打不开了

在思考多次是什么导致打不开以后以下是我试过的一些方法和排查思路:

1、删除\AppData\Roaming\JetBrains\PhpStorm2020.1

首先Google一下看看出现相同问的的人都是怎么解决的
大都是要删除这个文件夹重启\AppData\Roaming\JetBrains\PhpStorm{version}

想了想可能是我用服务器激活或者用过crack补丁的关系,涉及到这个文件。
所以删除了好几次,以至于重装Phpstorm,但是最后都没有效果。🤔

2、重装JDK

打开32位的版本会报错,需要下载32位对应的JDK

在这里插入图片描述

我的系统版本位为win10 64位专业版,自然要使用64位的启动方式,但是64位的启动直接不报错也没有任何响应,于是选择重装JDK.

安装卸载试了试8,9,11版本,没一个可以运行64位😫

3、卸载更新

思索了一下可能是最近windows更新造成的不兼容,毕竟以前也有过,更新完我的数位板驱动就不行了,最后还是卸载更新解决的。
要想win10稳定果然还是不能频繁更新🙄

在这里插入图片描述

垃圾windows🙃

在这里插入图片描述

4、 审查phpstorm.bat

这个bat文件应该是监控程序运行,并输出错误日志用的,在末尾加上pause查看完整的运行周期

"%JAVA_EXE%" %ALL_JVM_ARGS% -cp "%CLASS_PATH%" com.intellij.idea.Main %* SET PATH=%OLD_PATH% pause

直接点击运行一下

OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release. 2020-06-20 12:34:52,590 [ 3800] WARN - Container.ComponentManagerImpl - Do not use constructor injection (requestorClass=org.jetbrains.plugins.phpstorm.PhpStormInitialConfigurator) javassist.CannotCompileException: by java.lang.reflect.InvocationTargetException at javassist.util.proxy.DefineClassHelper$JavaOther.defineClass(DefineClassHelper.java:220) at javassist.util.proxy.DefineClassHelper$Java11.defineClass(DefineClassHelper.java:52) at javassist.util.proxy.DefineClassHelper.toClass(DefineClassHelper.java:260) at javassist.ClassPool.toClass(ClassPool.java:1240) at javassist.ClassPool.toClass(ClassPool.java:1098) at javassist.ClassPool.toClass(ClassPool.java:1056) at javassist.CtClass.toClass(CtClass.java:1298) at com.mallowigi.idea.MTHackComponent.hackScrollbars(MTHackComponent.java:147) at com.mallowigi.idea.MTHackComponent.<clinit>(MTHackComponent.java:58) at java.base/java.lang.Class.forName0(Native Method) at java.base/java.lang.Class.forName(Class.java:398) at com.intellij.serviceContainer.ComponentManagerImpl.createListener(ComponentManagerImpl.kt:713) at com.intellij.util.messages.impl.MessageBusImpl.subscribeLazyListeners(MessageBusImpl.java:204) at com.intellij.util.messages.impl.MessageBusImpl.calcSubscribers(MessageBusImpl.java:320) at com.intellij.util.messages.impl.MessageBusImpl.getTopicSubscribers(MessageBusImpl.java:366) at com.intellij.util.messages.impl.MessageBusImpl.postMessage(MessageBusImpl.java:344) at com.intellij.util.messages.impl.MessageBusImpl.sendMessage(MessageBusImpl.java:396) at com.intellij.util.messages.impl.MessageBusImpl.lambda$createTopicHandler$3(MessageBusImpl.java:237) at com.sun.proxy.$Proxy33.appClosing(Unknown Source) at com.intellij.openapi.application.impl.ApplicationImpl.doExit(ApplicationImpl.java:606) at com.intellij.openapi.application.impl.ApplicationImpl.exit(ApplicationImpl.java:589) at com.intellij.openapi.application.impl.ApplicationImpl.restart(ApplicationImpl.java:536) at com.intellij.openapi.application.ex.ApplicationEx.restart(ApplicationEx.java:112) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at fuck_the_regulations_v321.ev.run(ev.java:42) at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313) at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:776) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:727) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721) at java.base/java.security.AccessController.doPrivileged(Native Method) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85) at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:746) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:416) at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203) at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124) at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:117) at java.desktop/java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190) at java.desktop/java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235) at java.desktop/java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233) at java.base/java.security.AccessController.doPrivileged(Native Method) at java.desktop/java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233) at java.desktop/java.awt.Dialog.show(Dialog.java:1063) at java.desktop/java.awt.Component.show(Component.java:1734) at java.desktop/java.awt.Component.setVisible(Component.java:1681) at java.desktop/java.awt.Window.setVisible(Window.java:1031) at java.desktop/java.awt.Dialog.setVisible(Dialog.java:998) at fuck_the_regulations_v321.eB.c(eB.java:127) at fuck_the_regulations_v321.eK.a(eK.java:4) at fuck_the_regulations_v321.eK.<init>(eK.java:15) at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490) at com.intellij.serviceContainer.ConstructorInjectionKt.instantiateUsingPicoContainer(constructorInjection.kt:48) at com.intellij.serviceContainer.ComponentManagerImpl.instantiateClassWithConstructorInjection(ComponentManagerImpl.kt:660) at com.intellij.serviceContainer.MyComponentAdapter.doCreateInstance(MyComponentAdapter.kt:35) at com.intellij.serviceContainer.BaseComponentAdapter.getInstanceUncached(BaseComponentAdapter.kt:115) at com.intellij.serviceContainer.BaseComponentAdapter.getInstance(BaseComponentAdapter.kt:69) at com.intellij.serviceContainer.BaseComponentAdapter.getInstance$default(BaseComponentAdapter.kt:62) at com.intellij.serviceContainer.ComponentManagerImpl.createComponents(ComponentManagerImpl.kt:261) at com.intellij.openapi.application.impl.ApplicationImpl.lambda$loadComponents$5(ApplicationImpl.java:334) at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:166) at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:627) at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:572) at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:61) at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:153) at com.intellij.openapi.application.impl.ApplicationImpl.loadComponents(ApplicationImpl.java:334) at com.intellij.idea.ApplicationLoader$startApp$6$loadComponentInEdtFuture$1.run(ApplicationLoader.kt:184) at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1736) at com.intellij.openapi.application.TransactionGuardImpl$2.run(TransactionGuardImpl.java:201) at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:831) at com.intellij.openapi.application.impl.ApplicationImpl.lambda$invokeLater$4(ApplicationImpl.java:310) at com.intellij.openapi.application.impl.FlushQueue.doRun(FlushQueue.java:80) at com.intellij.openapi.application.impl.FlushQueue.runNextEvent(FlushQueue.java:128) at com.intellij.openapi.application.impl.FlushQueue.flushNow(FlushQueue.java:46) at com.intellij.openapi.application.impl.FlushQueue$FlushNow.run(FlushQueue.java:184) at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313) at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:776) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:727) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721) at java.base/java.security.AccessController.doPrivileged(Native Method) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85) at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:746) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:416) at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203) at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124) at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90) Caused by: java.lang.reflect.InvocationTargetException at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at javassist.util.proxy.DefineClassHelper$JavaOther.defineClass(DefineClassHelper.java:214) ... 92 more Caused by: java.lang.LinkageError: loader com.intellij.util.lang.UrlClassLoader @754ba872 attempted duplicate class definition for com.intellij.ui.components.ScrollBarPainter$Thumb. (com.intellij.ui.components.ScrollBarPainter$Thumb is in unnamed module of loader com.intellij.util.lang.UrlClassLoader @754ba872, parent loader 'platform') at java.base/java.lang.ClassLoader.defineClass1(Native Method) at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1016) ... 97 more

上一篇:分享几个 Hyperf 常用助手函数

栏    目:PHP教程

下一篇:PHP SPL 标准库之 Countable

本文标题:解决PhpStorm64不能启动的问题

本文地址:http://www.blue1000.com/wangluobiancheng/PHPjiaocheng/2035.html

您可能感兴趣的文章

广告投放 | 联系我们 | 版权申明

重要申明:本站所有的文章、图片、评论等,均由网友发表或上传并维护或收集自网络,属个人行为,与本站立场无关。

如果侵犯了您的权利,请与我们联系,我们将在24小时内进行处理、任何非本站因素导致的法律后果,本站均不负任何责任。

联系QQ:1961407250 | 邮箱:1961407250#qq.com(#换成@)

Copyright © 2002-2022 BK网络学院版权所有 Power by DedeCms 粤ICP备19027147号-7