# io.github.libtmux.Server.Server.requireAlive

- **Module:** io.github.libtmux.Server.Server
- **Package:** io.github.libtmux:libtmux
- **Language:** Java
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-java/blob/842228310449e879ebcaa3f910597757c9dbffd6/libtmux/src/main/java/io/github/libtmux/Server.java#L214
- **Page:** https://libtmux.org/en/java/latest/reference/io-github-libtmux-server-server-requirealive/

```
io.github.libtmux.Server.Server.requireAlive() -> void
```

Requires a running tmux daemon that answers the liveness probe.

## Raises

- `ServerNotRunningException`: if no daemon is there to answer
- `LibTmuxException`: if one is, and could not be reached — a socket this user cannot open, or a binary that is not tmux, which starting a server would not fix
