I am getting below while loading the DLL file on Windows Server 2016 with AMD processor using Java code. We are generating the DLL file using the Microsoft Visual Studio 2017 from CPP code.
Caused by: java.lang.UnsatisfiedLinkError: \ABCD.dll: Can't load this .dll (machine code=0x686) on a AMD 64-bit platform
DLL is working fine when I am trying to load on Windows 10 with Processor Intel(R) Core(TM) i5-10310U. I am new to the Microsoft Visual Studio so not sure what is causing the issue
We tried to load using System.loadLibrary("filename") method