docs: public static String getJavaCommand(final Path javaHome) {
          final Path resolvedJavaHome = javaHome == null ? findJavaHome() : javaHome;
          final String exe;
          if (resolvedJavaHome == null) {
              exe = "java";
          } else {
              exe = resolvedJavaHome.resolve("bin").resolve("java").toString();
          }
          if (exe.contains(" ")) {
              return "\"" + exe + "\"";
          }
          if (WINDOWS) {
              return exe + ".exe";
          }
          return exe;
      }