To run an application or unit-test using LWJGL one has to set the java.library.path VM parameter to point to a directory containing the native DLLs.
I have this working fine for my maven build on the command line using a surefire plugin, but it would be nice to get it working within Eclipse. Obviously I can set the VM parameter in the run configuration but it’s painful, especially if I’m writing unit-tests: every test has to have its own run config that I have to set manually.
Done some googling, I can find lots about setting this up for a maven build but not for Eclipse itself. Get the feeling I’m missing some cunning trick - is there some way to set this ‘globally’ for an Eclipse project?
- stride