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?)
Asked
Active
Viewed 3,182 times
6

IAdapter
- 62,595
- 73
- 179
- 242

Peter Štibraný
- 32,463
- 16
- 90
- 116
-
Should be community wiki – danben May 13 '10 at 16:07
-
1Community wiki police strikes again! – Peter Štibraný May 13 '10 at 18:25
2 Answers
5
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.

G__
- 7,003
- 5
- 36
- 54
-
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ý May 13 '10 at 16:06
-
2It seems that Sonatype guys have custom version of JLine (http://github.com/jdillon/jline2) – Peter Štibraný May 21 '10 at 07:41
-
jline3 is the successor to jline, and it is alive and well: https://github.com/jline/jline3 – Mike Slinn Nov 01 '17 at 16:17