okjFrontPanel.dll error


#1

Running the DESTester.java or even my own java program, I keep getting this message:

Exception in thread “main” java.lang.UnsatisfiedLinkError: C:\Program Files\Java
\j2re1.4.0\bin\okjFrontPanel.dll: One of the library files needed to run this ap
plication cannot be found
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1480)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1396)
at java.lang.Runtime.loadLibrary0(Runtime.java:772)
at java.lang.System.loadLibrary(System.java:832)
at DESTester.(DESTester.java:12)

Is there any quick fix to this (I am using a XEM3001). Thanks


#2

Is the DLL in your application directory? Or did you copy it to the JRE directory in the error message?


#3

I have copy of the .dll both in the application directory and the JRE director.


#4

Our Java library is built on JDK 1.4.2. Can you upgrade your JRE and see if that fixes the problem?


#5

I’ve upgraded to JDK 1.5_8 and still seem to be getting the same problem.


#6

It may be necessary to use the same JDK version as the library was built on. This is how the Python external interfaces work.

We will need to look into this. In the meantime, you can try JDK 1.4.2 and see if it solves your problem.