Call is hikvision API.
An error code below
HCNetSDK INSTANCE=(HCNetSDK) loadLibrary (" HCNetSDK, "
HCNetSDK. Class);
The native Windows 10 64 to perform perfectly normal packaged jar program into the Ubuntu Java - jar xx. Jar
An exception is
The Exception in the thread "main" Java. Lang. UnsatisfiedLinkError: jnidispatch (/com/sun/jna/Linux - aarch64/libjnidispatch. So) not found in the resource path
At com. Sun. Jna. Native. LoadNativeLibraryFromJar (568). Native Java:
At com. Sun. Jna. Native. LoadNativeLibrary (550). Native Java:
At com. Sun. Jna. Native. & lt; Clinit> (Native Java: 87)
The at HCNetSDK. & lt; Clinit> (HCNetSDK. Java: 39)
At the Main. The Main (28). The Main Java:
Jars directory structure is as follows
Solve ChongXie!
CodePudding user response:
The specified file is not ah, you look at your file paths are not the/com/sun/jna/Linux - aarch64/libjnidispatch. SoCodePudding user response: