Command Line Switches

Also see PerformanceSettings.

You can also point to a specific JRE in the Eclipse command line:

For example:

C:\eclipse-3.2\eclipse.exe -vm "C:\Program Files\Java\jre1.5.0_09\bin\javaw" vmargs -Xms512m -Xmx512m -XX:PermSize=128m -XX:MaxPermSize=128m 

This points my Eclipse to the 1.5 install of JRE:

-vm "C:\Program Files\Java\jre1.5.0_09\bin\javaw"

This sets the memory usage of the vm:

vmargs -Xms512m -Xmx512m -XX:PermSize=128m -XX:MaxPermSize=128m

See the Eclipse documentation for more info...