Mac idea won't open

I just downloaded the idea from the official website. After the installation is complete, double-click to open it, and it flashes past and the software does not open.

Open Finder -> Application -> IntelliJ IDEA -> Show package content:

 

image.png

 

After displaying the package directory, follow the prompts below:

 

image.png


After double-clicking to execute the above script, the information to control printing is as follows:

Last login: Tue Feb 18 13:56:56 on console

The default interactive shell is now zsh.
To update your account to use zsh, please run `chsh -s /bin/zsh`.
For more details, please visit https://support.apple.com/kb/HT208050.
qiuyuandeMacBook-Pro:~ drebander$ /Applications/IntelliJ\ IDEA\ 2.app/Contents/MacOS/idea ; exit;
2020-02-18 14:50:13.255 idea[970:27966] allVms required 1.8*,1.8+
2020-02-18 14:50:13.258 idea[970:27983] Value of IDEA_VM_OPTIONS is (null)
2020-02-18 14:50:13.259 idea[970:27983] Processing VMOptions file at /Users/drebander/Library/Preferences/IntelliJIdea2019.3/idea.vmoptions
2020-02-18 14:50:13.260 idea[970:27983] 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 : ../bin/jetbrains-agent.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.
Deleting expired sessions...491 completed.

[进程已完成]

Through the startup log of the above idea, I know that the startup can't be caused by the lack of jar:
put the jar package jetbrains-agent.jar under the path where it reported the error (idea's bin directory), and double-click to start the idea.
Successfully started~!

If the reason for your error is the same as mine, missing jetbrains-agent.jar, but don’t know where to download it, please refer to:
https://www.jianshu.com/p/5c24dad19e0a
The first step in downloading the agent package.

If it is the cracked version used before, and the genuine idea is used later, the above phenomenon will also appear after downloading from the official website. The solution at this time is:
search for jetbrains on MAC, and you will see the search results

 

image.png

 

Shown in the upper folder is like this

 

image.png


Then delete this folder, delete it and reopen it, it’s fine

Guess you like

Origin blog.csdn.net/sanmi8276/article/details/108522676