Saturday, June 22, 2013

Get property of java library path

To get current setting of java library path, call System.getProperty("java.library.path").

Example:
package javalibpath;
public class JavaLibPath {
 public static void main(String[] args) {
 String libPathProperty = System.getProperty("java.library.path");
 System.out.println(libPathProperty);
 }
}


Check the Output window

Subscribe to: Post Comments (Atom)

AltStyle によって変換されたページ (->オリジナル) /