问题
当我点击最下面任务栏的idea图标,跳了一下之后就再也没反应了
To update your account to use zsh, please run `chsh -s /bin/zsh`.
For more details, please visit https://support.apple.com/kb/HT208050.
macdeMacBook-Pro:~ mac$ /Users/mac/Downloads/IntelliJ\ IDEA.app/Contents/MacOS/idea ; exit;
2021-07-13 10:07:06.765 idea[1409:27630] allVms required 1.8*,1.8+
2021-07-13 10:07:06.768 idea[1409:27636] Current Directory: /Users/mac
2021-07-13 10:07:06.768 idea[1409:27636] Value of IDEA_VM_OPTIONS is (null)
2021-07-13 10:07:06.768 idea[1409:27636] Processing VMOptions file at /Users/mac/Library/Application Support/JetBrains/IntelliJIdea2020.2/idea.vmoptions
2021-07-13 10:07:06.768 idea[1409:27636] 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 : JetbrainsCrack-3.1-release-enc.jar
Error occurred during initialization of VM
agent library Failed to init: instrument
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.
[进程已完成]
我们重点关注这一行:
Error opening zip file or JAR manifest missing : JetbrainsCrack-3.1-release-enc.jar.
这一行代码是告诉你出现问题出在哪,告诉我们找不到这个jar打开失败了,或者是这个jar根本就不存在,但是我们根本就没用过这个jar包;并且上面也告诉我们是在哪个文件报错了:
2021-07-13 10:07:06.768 idea[1409:27636] Processing VMOptions file at /Users/mac/Library/Application Support/JetBrains/IntelliJIdea2020.2/idea.vmoptions
所以我们直接打开/Users/mac/Library/Application Support/JetBrains/IntelliJIdea2020.2/idea.vmoptions
这个文件,输入命令:
vim /Users/mac/Library/Application Support/JetBrains/IntelliJIdea2020.2/idea.vmoptions
可以看到最后一行多了个 -javaagent:JetbrainsCrack-3.1-release-enc.jar
,这是我之前破解文件用过的jar包,但在这里我们已经用不到了,所以将其删除;
删掉之后idea就可以打开了
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。