下面先给大家介绍下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
查看完整的运行周期
1
2
3
4
5
|
"%java_exe%" %all_jvm_args% -cp "%class_path%" com.intellij.idea.main %* set path=%old_path% pause |
直接点击运行一下
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
|
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 |
大致看了一下,不太懂java,可能是环境依赖问题。
调试了一下phpstorm.exe.vmoptions
文件最大最小运行内存等设置项,问题并没有得到解决,看来并不是内存溢出问题造成的,毕竟我升级过内存
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
-server -xms128m -xmx512m -xx:reservedcodecachesize=240m -xx:+useconcmarksweepgc -xx:softreflrupolicymspermb=50 -ea -xx:cicompilercount=2 -dsun.io.usecanonprefixcache=false -djdk.http.auth.tunneling.disabledschemes= "" -xx:+heapdumponoutofmemoryerror -xx:-omitstacktraceinfastthrow -djdk.attach.allowattachself=true -dkotlinx.coroutines.debug=off -djdk.module.illegalaccess.silent=true -javaagent:{path}\jetbrains-agent.jar |
5、使用win10沙盒,重装前试试是不是升级兼容带来的问题
于是正好使用以下windows 的新功能
在安装好以后,搜索sandbox,并打开:
我还能说啥呢(在根据网上所说方法开启vt、重装等还是这个错误)
6、更新win10 2004 最新版本
以毒攻毒,看看问题在新版本有没有解决,我的1903想直接用ota更新还是不行的,可能是还没有开始推送
于是就去msdn,i tell you 下载新的版本,iso加载后直接打开setup.exe自动安装就好
安装好2004版本后感觉没啥太大变化,phpstorm还是打不开,唯一区别就是sandbox可以用了,不会报错,大概是更新支持了intel的vt不仅限于amd了。
使用sandbox运行phpstorm64完全没有问题,说明不是版本更新造成的,而可能是一些环境依赖出错了。
对于本机环境排查我完全没有什么思路,能重装的都重装了,没有办法,只能重置一下系统,删除所有设置和文件,问题才可以解决。
而我重置系统才半年不到,又得重新安装很多软件。。
到此这篇关于解决phpstorm64不能启动的问题的文章就介绍到这了,更多相关phpstorm64不能启动内容请搜索萬仟网以前的文章或继续浏览下面的相关文章希望大家以后多多支持萬仟网!
原文链接:https://blog.csdn.net/weixin_42103352/article/details/106869070