Registry / cli / jline
library2.14.6javamavenunverified

JLine is a Java library for handling console input with line editing and history support.

<dependency> <groupId>jline</groupId> <artifactId>jline</artifactId> <version>2.14.6</version> </dependency>
INSTALL
IMPORT
SIG · JLINE
J
jline
clijavav2.14.6
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

LineReader
org.jline.reader.LineReader

Read a line from the console with JLine.

import org.jline.reader.LineReader; import org.jline.reader.LineReaderBuilder; public class Quickstart { public static void main(String[] args) { LineReader reader = LineReaderBuilder.builder().build(); String line = reader.readLine("> "); System.out.println("You entered: " + line); } }
Debug
Known issues
breakingJLine 2.x and 3.x have different APIs; version 2.14.6 is the last 2.x release and is deprecated.
fix
Upgrade to JLine 3.x (e.g., org.jline:jline:3.x) for continued support.
affects: <3.0.0
Upgrade
Version history
2.14.6latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
22 hits · last 30 days
node
22
Resources
jline — mvn dependency:get jline · libregistry