Java System.mapLibraryName(String libname)
Syntax
System.mapLibraryName(String libname) has the following syntax.
public static String mapLibraryName(String libname)
Example
In the following code shows how to use System.mapLibraryName(String libname) method.
/* ww w . j av a 2s . co m*/
public class Main {
public static void main(String[] args) {
String str = System.mapLibraryName("os.name");
System.out.println(str);
}
}
The code above generates the following result.