Skip to content

Instantly share code, notes, and snippets.

@jeffreymorganio
Created February 19, 2015 08:18
Show Gist options
  • Save jeffreymorganio/2a5c69c4d1580acde9d8 to your computer and use it in GitHub Desktop.
Save jeffreymorganio/2a5c69c4d1580acde9d8 to your computer and use it in GitHub Desktop.
Set JAVA_HOME on Ubuntu
export JAVA_HOME=$(readlink -f /usr/bin/java | sed "s:bin/java::")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment