reason
The plug-in that was cracked before was placed in a place other than the installation directory, and the idea.vmoptions file was changed
When you can open the idea, you can directly change this file in the idea, such as changing the default use of memory space, which can improve the experience of running code
At that time, the -javaagent parameter was added and pointed to the address of the plug-in
Then there was this problem - there was no response at all when opening the idea
try
Right click on the idea in the application, "Show Package Contents"
Run the idea script,
you can see a prompt that there is an error running the jar package or the jar package cannot be found
If this jar package points to the jar package of your crack path, then this is probably the problem
tried method
- Delete the jar package in the target directory
- Delete idea and reinstall
- Download the new required jar package and put it in the bin directory
solution
Delete the configuration for cracking the line in idea.vmoptions
Remember to use the terminal to find it, otherwise you will not find this file at all
sudo su
#输入密码
cd /Users/用户名/Library/Application\ Support/JetBrains/你的idea版本/
#这一行没有写错反斜杠和空格,不加的话找不到
vi idea.vmoptions
#这下就找到了这个文件了,把突兀的java agent配置删掉