[Resolved] PhpStorm 2019.2 won't start
Hi,
I just updated to 2019.2 and it won't start
When I run phpstorm.sh from the terminal, it shows this output
OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
Unrecognized VM option 'UseParNewGC'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Edit: As I was writing this post, I found the solution so I'll post this anyway in case someone encounters the same issue
I found a vmoptions file in
/home/[user]/.local/share/JetBrains/Toolbox/apps/PhpStorm/ch-0
and removed the options which cause the error one by one
In my case, I removed UseParNewGC as well as CMSIncrementalMode and CMSIncrementalPacing
At first, I was checking vmoptions files inside
/home/[user]/.local/share/JetBrains/Toolbox/apps/PhpStorm/ch-0/192.5728.108/bin
but they weren't having an effect
Cheers
请先登录再写评论。
Linux path is:
~/.PhpStorm2019.2/config/phpstorm64.vmoptions
And Mac is: ~/Library/Preferences/IntelliJIdea2019.2/idea.vmoptions