Find the dependent library not being loaded with System.LoadLibrary (Java)

Job ID: 30713697

Budget: $10 – $30 USD

I am using Java to do the command System.loadLibrary("libname");
It is failing with

Exception in thread "main" java.lang.UnsatisfiedLinkError: [path]\libname.dll: Can't find dependent libraries
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)

I want to be able to put into the Java code an error recovery method and to find the name of the library which is failing to be loaded.

I will pay up to $30 for this.