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.
To show the Expression view: Click on Window Menu -> Show View -> Others... -> Type Expr -> Click OK. Show activity on this post. System.
System properties contain information to configure the JVM and its environment. Some system properties are particularly relevant for JVMs in a CICS® environment. Specify JVM system properties in the JVM profile.
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));
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With