Originally a private project with the focus on learning about the Java Native Interface (JNI), Java-Readline has turned into a collaborative work of many contributers. It is now hosted on Sourceforge. For details about the project, please visit the main project page.
Java-Readline is a port of GNU Readline for Java. Or, to be more precise, it is a JNI-wrapper to Readline. It is distributed under the LGPL.
Although Java-Readline is distributed under the LGPL, the underlying Readline library is GPL code. The consequence is, that any program linking with Java-Readline+Readline, will fall under the GPL.
There is a Readline replacement called Editline with a more liberal license. Starting with version 0.6, you have the choice of linking against Editline. This version also features a fallback solution (System.in) for platforms without Readline or Editline support, making your programs portable again.
The code should compile for every platform supporting the readline, history and termcap libraries. Platforms known to work:
You can find a French translation of this page here (courtesy of Vicky Rotarova).
You can find the Dutch translation of this page here (courtesy of allesineenpakketten.nl).
Various packages are available for download. See the download area of the Java-Readline project. The current version is 0.8.0.
You can subscribe to a number of Java-Readline related mailing lists:
A number of projects use Java-Readline (or can be modified easily to use it):
If your project is missing, just drop me a note.
|You can find other Java and Linux related
software on my
Bernhard Bablok (mail @ bablokb.de)