IDEA重裝後也打不開怎麼辦

背景

一直使用IDEA突然到期不能使用了,重裝後也不行。

解決

打開 /Applications/IntelliJ IDEA.app/Contents/MacOS
發現有idea*

然後執行 ./idea

2020-05-24 10:59:10.503 idea[7944:601495] allVms required 1.8*,1.8+
2020-05-24 10:59:10.506 idea[7944:601502] Current Directory: /Applications/IntelliJ IDEA.app/Contents/MacOS
2020-05-24 10:59:10.506 idea[7944:601502] Value of IDEA_VM_OPTIONS is (null)
2020-05-24 10:59:10.506 idea[7944:601502] Processing VMOptions file at /Users/{用戶目錄}/Library/Application Support/JetBrains/IntelliJIdea2020.1/idea.vmoptions
2020-05-24 10:59:10.506 idea[7944:601502] 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 : /Users/{用戶目錄}/.jetbrains/jetbrains-agent-v3.0.0.jar
Error occurred during initialization of VM
agent library failed to init: instrument		

這次有了報錯信息就好解決了 如上idea.vmoptions文件有問題,所以證明我一開始還是刪錯了文件。

打開文件刪除我們加的代理的那句話。再次保存重新打開idea發現可以使用了。

希望對大家有幫助

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章