Skip to content

Instantly share code, notes, and snippets.

@trung
Last active February 13, 2019 20:00
Show Gist options
  • Save trung/0208c32377ee90d5a9b58a1e858b5e9d to your computer and use it in GitHub Desktop.
Save trung/0208c32377ee90d5a9b58a1e858b5e9d to your computer and use it in GitHub Desktop.
Travis - jdk_switcher: command not found
# This works for trusty but not xenial
if test -f ${HOME}/.jdk_switcher_rc; then
. ${HOME}/.jdk_switcher_rc
fi
if test -f /opt/jdk_switcher/jdk_switcher.sh; then
. /opt/jdk_switcher/jdk_switcher.sh
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment