[idea]mac not open idea

这篇博客讲述了在Mac环境下安装并配置好IntelliJ IDEA后,由于破解过程中jar包路径丢失导致无法打开的问题。通过查看包内容并手动放置jar文件,解决了'Error opening zip file or JAR manifest missing'的错误。

[idea]mac not open
mac系统无法打开idea

problem

mac环境,安装好idea后
配置了vmoptions
重启idea,无法打开

reason

jar包没有找到
定位:使用二进制打开ieda

  • 应用程序-IntelliJ-右击-查看包内容
  • contents-MacOS-idea
  • 双击
  • 控制台会提示错误信息

原因:破解时路径找不到jar包导致
Error opening zip file or JAR manifest missing : /Applications/IntelliJ IDEA.app/Contents/bin/jetbrains-agent.jar

2021-11-28 13:37:58.488 idea[740:7303] allVms required 1.8*,1.8+
2021-11-28 13:37:58.490 idea[740:7307] Value of IDEA_VM_OPTIONS is (null)
2021-11-28 13:37:58.491 idea[740:7307] Processing VMOptions file at /Users/dream/Library/Preferences/IntelliJIdea2019.2/idea.vmoptions
2021-11-28 13:37:58.491 idea[740:7307] Done
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/IntelliJ IDEA.app/Contents/bin/jetbrains-agent.jar
Error occurred during initialization of VM
agent library failed to init: instrument

solution

解决:将jar文件放入目录即可
/Applications/IntelliJ IDEA.app/Contents/bin/jetbrains-agent.jar

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值