[FIX] Java select

This commit is contained in:
Gravit 2021-05-31 05:51:40 +07:00 committed by GitHub
parent a8573c5b57
commit ffad6c0b74
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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<JavaVersion> javaVersions = findJava();