phpstorm mac上升级后打不开

Mac idea 打不开

从官网上刚下载的idea,安装完成之后,双击打开,只见一闪而过,软件没有打开。

打开 访达->应用程序->IntelliJ IDEA ->显示包内容 :

显示包目录之后,打开contents ,macos ,运行phpstorm可执行文件

控制打印的信息如下:

2020-05-21 10:13:40.406 phpstorm[3092:64555] Value of PHPSTORM_VM_OPTIONS is (null)
2020-05-21 10:13:40.406 phpstorm[3092:64555] Processing VMOptions file at /Users/XXXXXLibrary/Application Support/JetBrains/PhpStorm2020.1/phpstorm.vmoptions
2020-05-21 10:13:40.407 phpstorm[3092:64555] Done
Error: could not find libjava.dylib
Failed to GetJREPath()
OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
Error opening zip file or JAR manifest missing : /Applications/PhpStorm.app/Contents/bin/jetbrains-agent.jar
Error occurred during initialization of VM
agent library failed to init: instrument

[进程已完成]

通过上面的idea的启动日志,知道启动不起来是又到缺少jar导致的:
在它报错的路径(idea的bin目录)下放上jar包jetbrains-agent.jar,双击启动idea。或者直接编VMOptions file 删除添加的agent那一行即可
成功启动~!

posted @ 2020-05-21 10:26  Bashuslovakia  阅读(2343)  评论(0编辑  收藏  举报