Thomas Johnson Thomas Johnson - 6 months ago 14
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?

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.