0

I have my own user created project template that spawns a Main.java file under a src package. I would like the project template to also have a particular run configuration that executes the Main.java file with the VM parameter

-Djava.library.path=/usr/lib/lwjgl-2.9.1/native/linux

I'm having a lot of trouble finding this in the documentation. Can anybody guide me in the right direction?

I'm running IntelliJ 13.1. The following is a screenshot of the run configuration I would like to be part of the project template, which was created from the project on the left.

enter image description here

Nick Holt
  • 115
  • 1
  • 6

1 Answers1

3

In your screenshot, you have two categories: Application and Defaults. If you expand Defaults, it will list Application. Click on the Application and set the default value there. Any runtime configuration built from the default will carry those default values from now on.