Java applications with a command-line interface (CLI) are typically started with a shell script wrapper. In this article I present a boilerplate for a wrapper shell script for Java applications that allows for installing the application in an arbitrary directory. The application can be started by either executing the wrapper directly, or by executing a symbolic link to the wrapper. Further, the script allows for customizing variables used in the wrapper with system-specific and user-specific configuration files and via environment variables.