background
Recently, through Jetbrain’s educational discount (using school’s mailbox), you can apply for one-year license to use genuine software, so I plan to replace the cracked version of the software and upgrade it to the latest version. After replacing the cracked version, the software (Pycharm Or Idea )Unable to start.
problem
Start the software using the command line
cd /Applications/IntelliJ IDEA.app/Contents/bin
./format.sh
Report an error
Error opening zip file or JAR manifest missing :
Error occurred during initialization of VM
agent library failed to init: instrument
analysis
Most of the solutions on the Internet are to delete idea.vmoptions. According to their location, I did not find this folder.
Until I checked the startup log, I finally found the location of the file.
Processing VMOptions file at /Users/chenhuigu/Library/Application Support/JetBrains/IntelliJIdea2020.2/idea.vmoptions
Solution
Just delete idea.vmoptions
reference
https://blog.csdn.net/github_36923418/article/details/88957261