I am tring to use a third party DLL which is running on MS2000 under IIS5. I am using the JNI interface that they provided(which I have imported into Visual Age). This is on a different NT server. I have been having problems when the interface calls the System.loadlibrary() code. I think I need to set the system.library.path to include the DLL on the MS2000 server, but I can't seem to do this. I have been using the command line java -D"system.library.path = \\DOM2000\d:\path where DOM2000 is the server on which the DLL lies. This does not work!. Is the command line syntax correct? when I run the application I am building I get the following message java.lang.NoClassDefFoundError: QAProWeb java.lang.Throwable(java.lang.String) java.lang.Error(java.lang.String) java.lang.LinkageError(java.lang.String)
Please can someone help?
posted 14 years ago
Have you tried setting the system property java.library.path, to point to the directory of the dll? I am no expert on this, but it worked for me, on WebSphere/AIX.