Java System mapLibraryName() MethodThe mapLibraryName() method of Java System Class maps a library name into platform-specific string which represents a native library. SyntaxParameterlibname - the name of the library. Returns
Example 1Test it NowOutput: map library for user's name = user.name.dll map library for user's home = user.home.dll map library for user's dir = user.dir.dll Example 2Test it NowOutput: map library for OS's name = os.name.dll map library for OS's architecture = os.arch.dll map library for OS's version = os.version.dll
Next TopicJava System
|