6

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?)

IAdapter
  • 62,595
  • 73
  • 179
  • 242
Peter Štibraný
  • 32,463
  • 16
  • 90
  • 116

2 Answers2

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
0

jruby has an internal readline you could probably call out to.

rogerdpack
  • 62,887
  • 36
  • 269
  • 388