Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Java Exception when Switching from XP to WIN2K

I have an application that uses JNI for some native functions that are in a DLL. The application runs correctly on windows XP, however when I run the program on Window 2000, I receive the following:

alt text


    java.lang.UnsatisfiedLinkError: C:\Program Files\Compunetix\stixDlls\CMSCI Dll.d
ll: The specified procedure could not be found
        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.load0(Unknown Source)
        at java.lang.System.load(Unknown Source)
        at com.compunetix.vsd.stix.main.Main.main(Main.java:165)

Any ideas?

Thanks

like image 439
user489041 Avatar asked Mar 16 '26 09:03

user489041


1 Answers

it might be that the dll uses another dll that is not available in that second machine. Use Dependency walker/ to find exactly what dll is missing.

like image 50
Persimmonium Avatar answered Mar 18 '26 22:03

Persimmonium