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


Get property of java library path
Check the Output window

1 comment: