Just jotting down some recommendations from a friend:

  1. Create an EXE4J_JAVA_HOME environment variable that points to your JDK installation (i.e. export EXE4J_JAVA_HOME=$JAVA_HOME).
  2. Delete the <idea install dir>/jre directory
  3. Add the following JVM options to what you may already have in Idea’s JVM config (<idea install dir>/bin/idea.exe.vmoptions on Windows):

    -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode