# io.github.libtmux.ServerLaunch.Builder

- **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#L57
- **Page:** https://libtmux.org/en/java/latest/reference/io-github-libtmux-serverlaunch-serverlaunch-builder-aqzq/

Collects the choices; {@link #build()} checks them.

## Members

### Other members

- [`binary`](/en/java/latest/reference/io-github-libtmux-serverlaunch-serverlaunch-builder-binary/) (method): Sets the tmux executable, resolved on {@code PATH} unless it is an absolute path.
- [`build`](/en/java/latest/reference/io-github-libtmux-serverlaunch-serverlaunch-builder-build/) (method): The launch these choices describe.
- [`configFile`](/en/java/latest/reference/io-github-libtmux-serverlaunch-serverlaunch-builder-configfile/) (method): Sets the config file the server reads; without one it reads an empty file.
- [`root`](/en/java/latest/reference/io-github-libtmux-serverlaunch-serverlaunch-builder-root/) (method): Sets the directory servers make their own directory under, {@code /tmp/libtmux-java-dev} by default. Keep it short: a socket path longer than the platform's {@code sun_path} does not work.
- [`timeout`](/en/java/latest/reference/io-github-libtmux-serverlaunch-serverlaunch-builder-timeout/) (method): Sets how long start waits for the server to answer, and close waits for it to exit.
