I'm working with jni. I use the Caffeine foundation.
In my .net "Test" project I'm calling to a java class (I'll name it *A*). It is working just fine.
Now, I want *A* class to call to another java class that located inside of a jar file.
I developed *A* in Eclipse, so that in Eclipse I gave it a classpath including that jar file. Thats why
it works fine there. I can make the connection between them inside the Eclipse, since the jar is in the class path.
I guess that in my .Net JNI project, since I get an Exception of NoClassDefFoundError... that when I'm taking the class
out of the Eclipse environment, I should take with it also the class path, if I want it to use that jar file.
I hope that I'm understood.
I'll appreciate any help, thanks in advance.
Joined: Nov 10, 2009
I found the solution of what I was looking for.
I want to write it down for the other people who will face with it in the future.
So it's very simple - in the app.config file in your .net project you
have entries to describe the class path. There you can insert anything
you want to be inside the class path.
Thanks for those who tried to help.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com