Thomas Johnson Thomas Johnson - 10 months ago 43
Java Question

How can I specify the default JVM arguments for programs I run from eclipse?

Is there a way to specify default JVM arguments when I'm running my code from eclipse, rather than specifying the same ones over and over for each run/debug/etc configuration?


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.