开发者

Eclipse System property

开发者 https://www.devze.com 2023-01-08 05:37 出处:网络
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 ar

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

精彩评论

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

关注公众号