From: Bernhard B. <ma...@ba...> - 2003-06-07 17:29:00
|
Hi Rune, I will think about this and will comment soon. Bernhard > Hello, > > I have a request for an enhancement to the java-readline library. > > Readline.iLib is a private variable. The only way to set it, is > through Readline.load, which attempts to load the file through > System.loadLibrary(). > > This does not work if the location of the so file is not known prior > to starting of the java program (in my case, it is a jar file), and > java isn't to happy about honoring a > System.setProperty("java.library.path", path). However, there is also > System.load(), which accepts a filename as argument, thus one could, > after determining os, extract the relevant so file to a temp directory > and load it from there. > > It would therefore be great if you could either add a test to > Readline.load() to check if the library is already loaded (I've been > unable to find out how to do this), or simply add a new public method > setIlib(). > > Regards, > Rune Fr=F8ysa |