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 actu开发者_开发问答al syntax.
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));
精彩评论