Patch: java/lang/natRuntime.cc

Ranjit Mathew rmathew@hotmail.com
Mon Aug 18 09:25:00 GMT 2003


>>>+      char* libraryPath = ::getenv ("LD_LIBRARY_PATH");
>>
>>Sorry, but I don't think this is portable. For example,
>>on Windows, PATH is used to search for DLLs. My memory
>>is a bit hazy now, but on AIX it was something like
>>LD_LOAD_LIBRARY_PATH.
> 
> 
> Well, getenv() is used in one other place in this file too. Thats why 
> I decided to use this. I can write a patch included the AIX variable 
> later today

I meant the hardcoding of "LD_LIBRARY_PATH" bit
not the "getenv( )" bit. You can probably wait for
more knowledgeable folks to chip in on how this is
to be calculated on other platforms before you
rework the patch. :-)

Ranjit.

-- 
Ranjit Mathew          Email: rmathew AT hotmail DOT com

Bangalore, INDIA.      Web: http://ranjitmathew.tripod.com/




More information about the Java-patches mailing list