From ffad6c0b742886487dda5db56501c422dea41d85 Mon Sep 17 00:00:00 2001 From: Gravit Date: Mon, 31 May 2021 05:51:40 +0700 Subject: [PATCH] [FIX] Java select --- .../main/java/pro/gravit/launcher/ClientLauncherWrapper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Launcher/src/main/java/pro/gravit/launcher/ClientLauncherWrapper.java b/Launcher/src/main/java/pro/gravit/launcher/ClientLauncherWrapper.java index b1351ba2..2a42accf 100644 --- a/Launcher/src/main/java/pro/gravit/launcher/ClientLauncherWrapper.java +++ b/Launcher/src/main/java/pro/gravit/launcher/ClientLauncherWrapper.java @@ -53,7 +53,7 @@ public static void main(String[] arguments) throws IOException, InterruptedExcep context.processBuilder = new ProcessBuilder(); if (waitProcess) context.processBuilder.inheritIO(); - context.javaVersion = JavaVersion.getCurrentJavaVersion(); + context.javaVersion = null; try { if (!noJavaCheck) { List javaVersions = findJava();