# io.github.libtmux.ServerLaunch

- **Module:** io.github.libtmux
- **Package:** io.github.libtmux:libtmux
- **Language:** Java
- **Kind:** class
- **Source:** https://github.com/libtmux/libtmux-java/blob/4d77001ac74cd9b7f66d1a56319a97ff6e0b2cd5/libtmux/src/main/java/io/github/libtmux/ServerLaunch.java#L14
- **Page:** https://libtmux.org/en/java/latest/reference/io-github-libtmux-serverlaunch-serverlaunch/

What {@link Server#start(ServerLaunch)} needs to start a private tmux server.

A builder-built class rather than a record, for the reason {@link ServerConfig} is one: tmux
keeps growing options, and a record's constructor is public API.

## Members

### Other members

- [`binary`](/en/java/latest/reference/io-github-libtmux-serverlaunch-serverlaunch-binary/) (method): The tmux executable.
- [`builder`](/en/java/latest/reference/io-github-libtmux-serverlaunch-serverlaunch-builder-1x1j/) (method): A builder holding the documented defaults.
- [`Builder`](/en/java/latest/reference/io-github-libtmux-serverlaunch-serverlaunch-builder-aqzq/) (class): Collects the choices; {@link #build()} checks them.
- [`configFile`](/en/java/latest/reference/io-github-libtmux-serverlaunch-serverlaunch-configfile/) (method): The config file the server reads, or empty for none, in which case it reads an empty one.
- [`root`](/en/java/latest/reference/io-github-libtmux-serverlaunch-serverlaunch-root/) (method): The directory each started server makes its own directory under.
- [`timeout`](/en/java/latest/reference/io-github-libtmux-serverlaunch-serverlaunch-timeout/) (method): How long start waits for the server to answer, and close waits for it to exit.
