Try putting the directory that contains the DLL in the PATH when (or 
before) you start the IDE. I use this method all the time for development here.

I modified idea.bat to look at the command line arguments and set the 
environment (i.e. the PATH) correctly based on the version of the DLL I 
want to use, and the version of the supporting libraries as indicated by 
the command-line arguments.


Galt Johnson

At 03:47 PM 7/25/2002, you wrote:
>This is a showstopper for me as I can't use the debugger...
>
>I specify my native code DLL location via the java.exe
>switch -Djava.library.path=<directory containing my DLL>, and my DLL loads a
>second DLL from the same directory, I always get this exception:
>
>     java.lang.UnsatisfiedLinkError: C:\jfreeman_2_5\nm\bin\SniaHba.dll:
>Can't find dependent libraries
>
>I'm using 1.4.0_01 for the IDE and 1.3.1_03 for my program.
>
>It works fine when run from the command line.  The program loads the DLL and
>the 2nd dependent DLL without problems.
>
>It also works fine in the IDE if I copy the dependent DLL into the system32
>directory.  This is not a good workaround for me as that's not how our
>poduct is layed out to build and run.
>
>I tried it in build 629 and it fails there also.
>
>Jim
>
>
>_______________________________________________
>Eap-bugs mailing list
>[EMAIL PROTECTED]
>http://lists.jetbrains.com/mailman/listinfo/eap-bugs


_______________________________________________
Eap-bugs mailing list
[EMAIL PROTECTED]
http://lists.jetbrains.com/mailman/listinfo/eap-bugs

Reply via email to