Process terminated with exit code 3

When you get this error when compiling using your favorite IDE, you may want to increase the heap size of the Java compiler.

My settings were: -Xmx1024m -Xms512m -XX:MaxPermSize=256m

Hope this helps


Optimal IntelliJ IDEA vmoptions settings

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:


This points to the correct JAVA_HOME installation dir.


If you have D: drive, edit also caching in the



Hope this helps

Granting ALL permission to Java Applets

Insert this:


into C:\Program Files\Java\jdk1.6.0_16\jre\lib\security\java.policy and C:\Program Files\Java\jre6\lib\security\java.policy after this line:

// Standard extensions get all permissions by default

grant codeBase “file:${{java.ext.dirs}}/*” {

// default permissions granted to all domains

grant {


IntelliJ IDEA 8 Shortcuts

IntelliJ IDEA 8 Productivity tips

Code completion

  • Smart type completion (ctrl + shift + space)
  • Basic completion (ctrl + space)
  • Replace by code completion (when in code completion, just select and tab)
  • Class name completion (ctrl + alt + space)
  • Complete statement (ctrl + shift + enter)
Code assistants
  • Comment / uncomment by // (ctrl + /)
  • Comment / uncomment by /**/ (ctrl + shift + /)
  • Override methods (ctrl + o)
  • Implement methods (ctrl + I)
  • Show quick javadoc (ctrl + q)
  • show parameter info (ctrl + p)
  • go to declaration (ctrl + b)
  • external javadoc (shift + f1)
Code template
  • try / catch (ctrl + t)
Code editing
  • select word and highlight (ctrl + w)
  • incremental search (alt + f3) or (ctrl + f)
Code navigation
  • Go to java class (ctrl + n)
  • Go to non-java class (ctrl + shift + n)
  • Go to implementation (ctrl + alt + b)
  • Go to symbol (class, method or field) (ctrl + alt + shift + n)
  • Go to declaration (ctrl + b)
  • recent files popup (ctrl + e)
  • quick select in popup (for open files) (alt + f1)
  • file structure popup (ctrl + f12)
  • use camel case when searching from classes
  • find in path (ctrl + shift + f)