Problem loading libraries to Java

1869
1
07-19-2011 12:56 PM
DavidMazzocco
New Contributor
I'm trying to load the FileGDBAPI dll into Java, but no luck using either JNA or JNI. I keep getting the following error:

Exception in thread "main" java.lang.UnsatisfiedLinkError: Unable to load library 'FileGDBAPI': The specified module could not be found.


I've ensured the paths are set to the directory with the dll. I also used Dependency Walker to see if there were any required dlls that may have been excluded. It did report that gpsvc.dll, IEShims.dll, sysntfy.dll were missing, but copying them to the proper folders caused an error (Modules with different CPU types found) since they are x64 only. I still haven't found any evidence that the x86 versions of these dlls exist. The C++ samples did run fine, so I'm lost on what is causing the problem...any help would be great.
0 Kudos
1 Reply
XiaotianYang
New Contributor
Now I'm fighting with this problem, but to failure.
Hope some guys like superman appear here.
My poor site is 杨�?天�?�?
0 Kudos