As far as I know I have to set this environment variable to the ".....\jvm.dll".
Is this correct?
For what purpose is this ENV Var?
Why do most of the java programs work altough I did NOT set this env variable ?
Cat
Arne Vajhøj - 10 May 2008 00:05 GMT
> As far as I know I have to set this environment variable to the ".....\jvm.dll".
> Is this correct?
>
> For what purpose is this ENV Var?
>
> Why do most of the java programs work altough I did NOT set this env variable ?
I believe it is where Java is looking for native libraries used
via JNI.
Java should be able to find the native libraries that comes with
Java without it.
And for your own JNI stuff I believe you should use
-Djava.library.path instead.
Arne
Lothar Kimmeringer - 12 May 2008 17:56 GMT
> As far as I know I have to set this environment variable to the ".....\jvm.dll".
> Is this correct?
There is no such thing like JAVA_LIBRARY_PATH but on Unix-systems
there is LD_LIBRARY_PATH where the system looks for shared
libraries. On Windows-systems the variable PATH is used.
As long as you don't write your own C-based wrapper-files using
system-functionalities you don't need to set these variables.
Regards, Lothar

Signature
Lothar Kimmeringer E-Mail: spamfang@kimmeringer.de
PGP-encrypted mails preferred (Key-ID: 0x8BC3CD81)
Always remember: The answer is forty-two, there can only be wrong
questions!