Hi,
I don’t understand how to install odejava. Can somebody help me please.
I have a odejava.dll and odejava.jar, but what to do next…?
Thanks
Hi,
I don’t understand how to install odejava. Can somebody help me please.
I have a odejava.dll and odejava.jar, but what to do next…?
Thanks
I’m using Eclipse as IDE. I created a new java project in it and added the odejava.dll to the root. Then I added the odejava.jar to the buildpath. When I tried to run the HighLevelApiExample, I received next error:
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/log4j/Logger
at org.odejava.Odejava.<clinit>(Odejava.java:77)
at HighLevelApiExample.<init>(HighLevelApiExample.java:75)
at HighLevelApiExample.main(HighLevelApiExample.java:59)
So I downloaded log4j-1.2.9 and added it also to the buildpath of the project, but I still have that same error.
Could anyone help me please? What am i doing wrong? Thanks !
I think this is related to your IDE. I am not using Eclipse.
Simply, log4j.jar should be in your classpath.
You can try to copy log4j.jar to your JRE’s ext directory.
Ex: C:\jdk1.5.0\jre\lib\ext
If odejava.dll will not be found, you can copy it to your JRE’s bin directory. Ex: C:\jdk1.5.0\jre\bin
I did exactly what you said and now it works ;D
Thank you !!!