views:

168

answers:

1

Which readline-like library for Java do you use? By 'readline' like library I mean library for editing console input, with support for history, tab-completion, and stuff like this. I'm looking for one, and I cannot choose from so many choices (jLine -- unmaintained, java-readline -- last release on 2003, others?)

+3  A: 

I've used JLine to add history, etc. to a Clojure REPL (JVM process) when executed from the command line. It just magically worked and worked well, so I never bothered to investigate anything else.

Greg Harman
Thank you for answer. jLine looks good except it is abandoned. I will give it a try and hope for not running into issues :)
Peter Štibraný
It seems that Sonatype guys have custom version of JLine (http://github.com/jdillon/jline2)
Peter Štibraný