|[cross-project-issues-dev] Issue with DLL file setting in eclipse|
The scenario is like this.
1. We have the open source .jar file which contains classes. Those classes use these (.dll) native calls to perform some action.
2. The code we have written just import those classes from the jar file. We are not writing any direct JNI calls in our code.
3. What we need to achive here is to import those classes from the jar file and write some code based on that and get the output.
4. The code is compiling fine but during run time we are getting the above exception. The same if we try to run from the command line it is working fine instead of using eclipse using the following command:
java -Djava.library.path=Win32-x86 <class name>
The Exception is
## Could not find the netsnmpj library.
## Please check your java.library.path setting.
## Currently java.library.path is set to:
## C:\Documents and Settings\saurakum\My Documents\netsnmpj-0.2.1\Win32-x86
Back to the top