描述:由于我以前是老版本用的jetbrains-agent.jar 的方式破解,下载最新版Idea后就点击图标没有反应。
排查问题
1.。找到程序中IntelliJ IDEA.app--》点击“显示包内容” ,点击如下目录下的的文件
: /Applications/IntelliJ IDEA.app/Contents/MacOS/idea
得到日志:
2023-04-12 15:01:32.886 idea[3534:57327] allVms required 1.8*,1.8+
2023-04-12 15:01:32.889 idea[3534:57333] Current Directory: /Users/userName
2023-04-12 15:01:32.889 idea[3534:57333] parseVMOptions: IDEA_VM_OPTIONS = (null)
2023-04-12 15:01:32.889 idea[3534:57333] fullFileName is: /Applications/IntelliJ IDEA.app/Contents/bin/idea.vmoptions
2023-04-12 15:01:32.889 idea[3534:57333] fullFileName exists: /Applications/IntelliJ IDEA.app/Contents/bin/idea.vmoptions
2023-04-12 15:01:32.889 idea[3534:57333] parseVMOptions: /Applications/IntelliJ IDEA.app/Contents/bin/idea.vmoptions
2023-04-12 15:01:32.889 idea[3534:57333] parseVMOptions: /Applications/IntelliJ IDEA.app.vmoptions
2023-04-12 15:01:32.892 idea[3534:57333] parseVMOptions: /Users/userName/Library/Application Support/JetBrains/IntelliJIdea2023.1/idea.vmoptions
2023-04-12 15:01:32.892 idea[3534:57333] parseVMOptions: platform=18 user=5 file=/Users/userName/Library/Application Support/JetBrains/IntelliJIdea2023.1/idea.vmoptions
Error opening zip file or JAR manifest missing : /Applications/IntelliJ_IDEA.app/Contents/lib/jetbrains-agent.jar
Error occurred during initialization of VM
agent library failed to init: instrument
我的解决方法:
1. 删除/Users/****/Library/Preferences 目录下关于老版本Idea的文件
2.删除/Users/***/Library/Application Support/JetBrains 目录下关于老版本Idea的文件
3.删除“应用程序”中的 IntelliJ_IDEA.app
4.重新安装IntelliJ_IDEA.app文章来源:https://www.toymoban.com/news/detail-411796.html
搞定。文章来源地址https://www.toymoban.com/news/detail-411796.html
到了这里,关于解决idea双击没反应问题(Error opening zip file or JAR manifest missing) Mac的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!