UnsatisfiedLinkError in JODE

Hello there,

I am having problems using jode. The problem is that I when I tried to run the program:

public class TestODE
{
public static void main(String [] args)
{
System.loadLibrary(“odejava”);
System.out.println(
"Odejava library version " + Ode.ODEJAVA_VERSION + “.”);
}
}

I get the error:

Exception in thread “main” java.lang.UnsatisfiedLinkError: get_ODEJAVA_VERSION
at org.odejava.ode.OdeJNI.get_ODEJAVA_VERSION(Native Method)
at org.odejava.ode.OdeConstants.(OdeConstants.java:14)
at maps.TestODE.main(TestODE.java:12)

I put the “odejava.dll” file in “C:\Program Files\Java\jdk1.5.0\jre\bin”. The “System.loadLibrary(“odejava”);” line above works, but the second line produces the error :’(above. Does anyone have an idea how to solve this? Any help is appreciated!!!

Thanks, 

  Carlos.  :'(

You havn’t put odejava.dll in the correct directory.

http://xith.org/Installing
These instructions
indicate where DLL files (such as jogl.dll and odejava.dll) should go and give you a Java program you can run to discover it if you are unsure.

Will.