Skip to content

Instantly share code, notes, and snippets.

@hsaputra
Created January 24, 2021 06:35
Show Gist options
  • Save hsaputra/5aa1f85db774d880a98d564277d07429 to your computer and use it in GitHub Desktop.
Save hsaputra/5aa1f85db774d880a98d564277d07429 to your computer and use it in GitHub Desktop.
Set JAVA_HOME Linux ...
Add it to your ~/.bashrc file"
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