Loading DLL with Java in Windows

Java loads dynamically linked library files in classes.
Class file:
Static {
system.loadLibrary (” DLL file “);
}
The DLL file is under the package path of the project. For example: pro/bin/hell. DLL; (Pro project in the bin directory hello. DLL file)
Can’t find dependent libraries Can’t find dynamically linked libraries
 
Solution:
Winpcap can be installed to solve the problem. Download path: http://ftp-idc.pconline.com.cn/32017d10a844534eecd94d13ce732091/pub/download/201010/WinPcap_4_1_3.exe
 

Reproduced in: https://www.cnblogs.com/zhaofeng555/p/3433441.html

Read More: