开发者

Eclipse System property

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)); 
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜