diff --git a/launcher/src/main/java/com/skcraft/launcher/launch/runtime/JavaRuntime.java b/launcher/src/main/java/com/skcraft/launcher/launch/runtime/JavaRuntime.java index 7d92730bd..ed0e39f93 100644 --- a/launcher/src/main/java/com/skcraft/launcher/launch/runtime/JavaRuntime.java +++ b/launcher/src/main/java/com/skcraft/launcher/launch/runtime/JavaRuntime.java @@ -108,6 +108,8 @@ public int compareTo(JavaRuntime o) { @Override public String toString() { + String version = this.version != null ? this.version : "unknown"; + return String.format("Java %s (%s) (%s)", version, is64Bit ? "64-bit" : "32-bit", dir); } }