Latest commit 1de190f Dec 5, 2016 @gnodet gnodet committed on GitHub Update


JLine is a Java library for handling console input. It is similar in functionality to BSD editline and GNU readline. People familiar with the readline/editline capabilities for modern shells (such as bash and tcsh) will find most of the command editing features of JLine to be familiar.

JLine 2.x is an evolution of JLine 1.x which was previously maintained at SourceForge.

JLine 2.x development has come to an end, and users are encouraged to investigate the use of JLine 3.x instead.


JLine is distributed under the BSD License, meaning that you are completely free to redistribute, modify, or sell it with almost no restrictions.



Maven Usage

Use the following definition to use JLine in your maven project:




  • Maven 3+
  • Java 5+

Check out and build:

git clone git://
cd jline2
mvn install