From: Bernhard B. <ma...@ba...> - 2003-01-10 08:43:00
|
Hm, there must have been a change in the way the java-interpreter searches for libraries. Try setting the system-property java.library.path= : java -Djava.library.path=3D/lib \ -cp /usr/share/java/libreadline-java.jar:. CLITest Let me know if this works, so I can update the README. Thanks, Bernhard > I think I've installed the java-readline package correctly, in that a > simple test works with stdin. However, it can't seem to find the > readline library. > > I have readline in my /lib directory (libreadline.so.4). My script to > run my test sets the library path: > export LD_LIBRARY_PATH=3D$LD_LIBRARY_PATH:/usr/lib/:/lib/ > java -classpath /usr/share/java/libreadline-java.jar:. CLITest > > When I run it I get the following: > couldn't load readline lib. Using simple stdin. > myprompt> > > What am I missing? > > - Bobman |