System.load()与System.loadlibrary()的区别

The difference is there in the API documentation.

system.loadLibrary(String libname) lets you load from the default path -- The Java library path.
system.load(String filename) lets you load it from an absolute path, which you must specify as your file name.


If you don't want to mess with your java.library.path environment variable, you should use system.load().


http://stackoverflow.com/questions/7016391/difference-between-system-load-and-system-loadlibrary-in-java

你可能感兴趣的:(java,String,api,File,Path,library)