public LaunchOption(Version version,Authenticator authenticator,MinecraftDirectory minecraftDir){
  Objects.requireNonNull(version);
  Objects.requireNonNull(authenticator);
  Objects.requireNonNull(minecraftDir);
  this.version=version;
  this.authenticator=authenticator;
  this.minecraftDirectory=minecraftDir;
  this.runtimeDirectory=minecraftDir;
  this.javaEnvironment=JavaEnvironment.current();
}

public LaunchOption ( Version version , Authenticator authenticator , MinecraftDirectory minecraftDir ) { Objects . requireNonNull ( version ) ; Objects . requireNonNull ( authenticator ) ; Objects . requireNonNull ( minecraftDir ) ; this . version = version ; this . authenticator = authenticator ; this . minecraftDirectory = minecraftDir ; this . runtimeDirectory = minecraftDir ; this . javaEnvironment = JavaEnvironment . current ( ) ; }
creates a launchoption using the default java environment .
