Solution to crash after installing JetBrains-agent.jar package in idea2020 under win10

Crack

When will we break JetBrains-agent.jarinto this file idea, I in pluginthe import restart can no longer open idea.

the reason

Import JetBrains-agent.jarerror occurred when the package automatically modify the configuration file, so we need to find the ideaconfiguration file is modified.

In the ideainstallation directory binfolder you have two files, idea.exe.vmoptionsand idea64.exe.vmoptionsrepresent the 32-bit and 64-bit profile. But ideaafter starting the relevant configuration file will be written to Cdisk, so directly modify the configuration file here is of no use. You need to find Cthe configuration file in the disk.
Insert picture description here

CConfiguration files in disk I am looking for a long time, checked a lot of information that is relevant in userthe directory, but I do not. I was first entered in the Explorer %appdata%after the jump to the corresponding location to find the file.

Insert picture description here

appdataIn fact, it is an environment variable. After entering it, jump to and
Insert picture description here
finally find the corresponding configuration file here.
Insert picture description here
When we import the jar package and crack it, idea64,exe.vmoptionsthere will be one more sentence in the file.

-javaagent:C:\Users\Public\.jetbrains\jetbrains-agent-v3.2.1.c46b.ed7=by https://zhile.io

But there is no corresponding jar package in the corresponding directory, so an error occurs. We only need to modify the path so that the jar package can be found. It is better to use an absolute path

-javaagent:F:/IntelliJ IDEA 2020.1.2/bin/jetbrains-agent.jar

The final restart ideacan be re-opened.

After opening the configuration file again, you can see:

Insert picture description here
It is estimated that the cracking program first finds the jar package from its own location and then moves to the corresponding location and then modifies the path.

The same idea in linux environment

At the beginning, I encountered this problem in Linux and did not solve it. Finally, I reinstalled 2019 to open it. I was puzzled. Then under win10, I was able to determine the problem of the jar package when cracking. The crack file of idea under linux should be in the .config file, which is a hidden file.

Guess you like

Origin blog.csdn.net/weixin_39139505/article/details/107003314