[Solved] IDEA 2021.3 Error: Error launching IDEA if you already have a 64-bit JDK installed,define a JAVA_HOME

In the process of activating the idea, just modify the vmoptions file and restart IntelliJ idea, the following error will be reported.

Solution:

In the directory: C:\Users\${your.username}\AppData\Roaming\JetBrains\IntelliJIdea2020.3 there is a file named idea.64.exe.vmoptions , just delete the changed file.

 

ps: I installed the JDK separately before installing IDEA, but this does not affect my normal installation of IDEA; after the above problems are solved, the normal activation steps can also be performed, and a vmoptions file will be regenerated.

Similar Posts: