Re: For what is the JAVA_LIBRARY_PATH environment variable?
by =?ISO-8859-1?Q?Arne_Vajh=F8j?= <arne@[EMAIL PROTECTED]
>
May 9, 2008 at 07:05 PM
Catherina Svensson wrote:
> 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