gpt4 book ai didi

Java - 库和 native 库之间的区别

转载 作者:搜寻专家 更新时间:2023-10-30 21:47:17 25 4
gpt4 key购买 nike

谁能告诉我库和 native 库在 java 方面的区别?我在以下行中找到了“ native 库”一词:

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.

你可以找到here

最佳答案

“ native 库”通常是指系统使用的非 Java 库(例如 C/C++ 等)。想想普通的 DLL 或库。

Java可以通过JNI加载这些原生库。

关于Java - 库和 native 库之间的区别,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2860642/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com