Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cross-project-issues-dev] Issue with DLL file setting in eclipse

Hi
 
But its working with fine with the command line.
The issue is when it is executed using  Eclipse.
 
Thanks,
Saurav

On Wed, Oct 1, 2008 at 3:38 PM, Antoine Toulme <antoine@xxxxxxxxxxxxxxx> wrote:
Please post to the Eclipse newsgroups for Eclipse related questions. You can try asking this question on the Eclipse Platform newsgroup, although I am not sure your error is related to Eclipse.


Your problem seems to be a generic Java problem, so I would recommend you post to a Sun mailing list or forum if that's the case.

Thanks,

Antoine

On Wed, Oct 1, 2008 at 12:02 PM, saurav kumar <saurav04in@xxxxxxxxx> wrote:
Hi

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

 

java.lang.UnsatisfiedLinkError: no netsnmpj in java.library.path

##

## 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

##
 
 
Can anyone please help with this issue.
 
Thanks,
Saurav

_______________________________________________
cross-project-issues-dev mailing list
cross-project-issues-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev




--
http://www.lunar-ocean.com/blog


_______________________________________________
cross-project-issues-dev mailing list
cross-project-issues-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev



Back to the top