Skip to content
Advertisement

The Intellij IDEA does not launch after editing the VM options file

In Intellij IDEA 2019 I mistakenly added incorrect lines to the VM option file (Menu | Help | Edit Custom VM Options). After that, the IDEA does not launch. Reinstallation didn’t help. When I run IDEA from terminal, it gives the following error:

JavaScript

But at the same time, these lines are not in the idea64.vmoptions file:

JavaScript

I don’t understand what the error is. Can anyone help? Thanks for any comment/answer!

Advertisement

Answer

Delete/edit the custom .vmoptions file.

Usually it’s located in the IDE configuration directory.

On Linux look for

~/.config/JetBrains/IntelliJIdea2020.2/idea64.vmoptions (for 2020.2 Ultimate) ~/.IntelliJIdea2019.3/config/idea64.vmoptions (2019.3 Ultimate) ~/.IdeaIC2019.3/config/idea64.vmoptions (2019.3 Community)

Toolbox managed installations may use different location:

~/.local/share/JetBrains/Toolbox/apps/IDEA-C/ch-0/193.7288.26.vmoptions

User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement