hi, I need to set the value of a system property java.library.path to c:\somepath. i know that i need to add this in the vm args section. Could some please provide the actual syntax.
A:
The argument is
-Djava.library.path=c:/somepath
To test if it's correct:
String key = "java.library.path";
System.out.printf("%s=%s%n", key, System.getProperty(key));
Andreas_D
2010-07-20 10:45:30
use this after `-vmargs`, e.g. `eclipse -vmargs -Djava.library.path=...`
Andreas
2010-07-20 10:48:10
I guess he wanted to add the parameter to a runtime configuration in eclipse itself.
Andreas_D
2010-07-20 10:56:12
yes i wanted to add the parameter at runtime config in eclipse, thanks guys for the response
hakish
2010-07-20 11:17:16