#!/bin/bash

set -o errexit
set -o nounset
set -o pipefail

if [ -z "$JAVA_HOME" ] ; then
  echo "ERROR: JAVA_HOME is not set" >&2
  exit 1
fi

exec "$@"