Java - Difference between library and native library

Alvin picture Alvin · May 18, 2010 · Viewed 15.3k times · Source

Could anyone tell me the difference between library and native library in terms of java? I found the word "native library" in the following line:

Type 1 - drivers that implement the JDBC API as a mapping to another data access API, such as ODBC. Drivers of this type are generally dependent on a native library, which limits their portability. The JDBC-ODBC Bridge driver is an example of a Type 1 driver.

which you can found here

Answer

Herms picture Herms · May 18, 2010

"Native Library" generally means a non-Java library that's used by the system (so C/C++, etc). Think normal DLLs or libs.

Java can load these native libraries through JNI.