背景
一直使用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发现可以使用了。
希望对大家有帮助