code: public CapsuleLauncher setJavaHomes(Map<String, List<Path>> javaHomes) {
          final Field homes = getCapsuleField("JAVA_HOMES");
          if (homes != null)
              set(null, homes, javaHomes);
          return this;
      }
docs: Sets the Java homes that will be used by the capsules created by {@code newCapsule}.
  
  @param javaHomes a map from Java version strings to their respective JVM installation paths
  @return {@code this}