[FIX] Исправление работы JLine

This commit is contained in:
Gravit 2019-05-11 16:35:32 +07:00
parent 21434b4ed6
commit 179733a987
No known key found for this signature in database
GPG key ID: 061981E1E85D3216
4 changed files with 4 additions and 4 deletions

View file

@ -481,7 +481,7 @@ public LaunchServer(Path dir, boolean testEnv, String[] args) throws IOException
localCommandHandler = new StdCommandHandler(false);
else
try {
Class.forName("jline.Terminal");
Class.forName("org.jline.terminal.Terminal");
// JLine2 available
localCommandHandler = new JLineCommandHandler();

View file

@ -20,7 +20,7 @@ public static void main(String[] args) throws IOException {
LogHelper.warning("Permission canAdmin not found");
}
try {
Class.forName("jline.Terminal");
Class.forName("org.jline.terminal.Terminal");
// JLine2 available
commandHandler = new JLineCommandHandler();

View file

@ -23,7 +23,7 @@ public static void initConsole() throws IOException
{
CommandHandler localCommandHandler;
try {
Class.forName("jline.Terminal");
Class.forName("org.jline.terminal.Terminal");
// JLine2 available
localCommandHandler = new JLineCommandHandler();

View file

@ -22,7 +22,7 @@ public ServerWrapperCommands() throws IOException {
// Set command handler
CommandHandler localCommandHandler;
try {
Class.forName("jline.Terminal");
Class.forName("org.jline.terminal.Terminal");
// JLine2 available
localCommandHandler = new JLineCommandHandler();