Set the <idea installation dir>\bin\idea.exe.vmoptions to:
Just in case you cant get it to work because an error is displaying everytime you start IDEA. “JVM not started…”
Use the idea.bat to start it.
edit the batch file in this line:
IF “%IDEA_JDK%” == “” SET IDEA_JDK=%JAVA_HOME%
This points to the correct JAVA_HOME installation dir.
If you have D: drive, edit also caching in the idea.properties
Hope this helps