Patch: java/lang/natRuntime.cc
Ranjit Mathew
rmathew@hotmail.com
Mon Aug 18 07:33: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.
> + // Initialize with prefix.
> + sb->append (JvNewStringLatin1 (PREFIX "/lib"));
On Windows, this might be the "bin" folder (or maybe not,
depending on where the Win32 GCJ distributor decides to
put the DLLs).
Ranjit.
--
Ranjit Mathew Email: rmathew AT hotmail DOT com
Bangalore, INDIA. Web: http://ranjitmathew.tripod.com/
More information about the Java-patches
mailing list