Skip to content

Launcher Arguments

sk89q edited this page Feb 20, 2015 · 1 revision

The launcher takes some arguments:

  • --dir to adjust the directory to store files (the bootstrapper sets this to a folder in My Documents/home folder)
  • --bootstrap-version is used by the bootstrapper
  • --portable tells the launcher that it should work in portable mode (however, it does not change the directory)

In addition, there are some Java properties that can be set:

  • -Dcom.skcraft.launcher.propertiesFile=path/to/local.properties can be used to override the launcher.properties file

Note: Java properties must be set before -jar:

java -Dcom.skcraft.launcher.propertiesFile=... -jar launcher.jar

While arguments must go afterwards:

java -jar launcher.jar --dir personal
Clone this wiki locally