score:40

Accepted answer

yes, right click the project. click run as then run configurations. you can change the parameters passed to the jvm in the arguments tab in the vm arguments box.

that configuration can then be used as the default when running the project.

score:5

as far as i know there is no option to create global configuration for java applications. you always create a duplicate of the configuration.

enter image description here

also, if you are using pde (for plugin development), you can create target platform using windows -> preferences -> plug-in development -> target platform. edit has options for program/vm arguments.

hope this helps

score:131

go to window → preferences → java → installed jres. select the jre you're using, click edit, and there will be a line for default vm arguments which will apply to every execution. for instance, i use this on os x to hide the icon from the dock, increase max memory and turn on assertions:

-xmx512m -ea -djava.awt.headless=true

Related Query

More Query from same tag