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那一行即可
成功啟動~!