Problem with java.library.path
From: Aaron Boxer (aaron_at_oti-canada.com)
Date: 10/31/03
- Next message: Aaron Boxer: "log4j Warning"
- Previous message: nos: "Re: communication between Java and C++"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 31 Oct 2003 15:08:52 -0500
Hello,
I am working with JDK 1.4.2 on windows 2000.
I have a JNI dll in the folder c:\src\bin
So, I make the following call:
java -classpath MyClassPath -Djava.library.path=c:\src\bin MyApp.app
But, the directory is ignored. and I get an Unsatisfied link error.
If I put "c:\src\bin" in the PATH, then everything is fine.
Any ideas?
Thanks.
Aaron Boxer
- Next message: Aaron Boxer: "log4j Warning"
- Previous message: nos: "Re: communication between Java and C++"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|