Skip to content

Instantly share code, notes, and snippets.

@rupzme
Last active November 9, 2015 13:14
Show Gist options
  • Save rupzme/e2322c53c8fcf0dce33e to your computer and use it in GitHub Desktop.
Save rupzme/e2322c53c8fcf0dce33e to your computer and use it in GitHub Desktop.
sudo -u root -s
(switch to root user, don't prompt for password)
[Good way to handle linux java packaging and assignment]
Check versions
update-java-alternatives -l
this updates & sets the sym links for all java commands:
sudo update-java-alternatives -s java-7-oracle
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment