How do I reset IntelliJ IDEA's settings if the 'Could not create the Java Virtual Machine' error is related to a corrupted configuration?

Responsive Ad Header

Question

Grade: Education Subject: Support
How do I reset IntelliJ IDEA's settings if the 'Could not create the Java Virtual Machine' error is related to a corrupted configuration?
Asked by:
137 Viewed 137 Answers

Answer (137)

Best Answer
(344)
You can reset IntelliJ IDEA's settings by deleting or renaming the configuration directory. This directory is usually located at the user's home directory in a hidden folder (e.g., `.IntelliJIdea[Version]`). Back up your settings before deleting or renaming the directory. Then restart IntelliJ IDEA; it will create a new default configuration.