Skip to content

Instantly share code, notes, and snippets.

@dogukancagatay
Last active November 21, 2019 12:00
Show Gist options
  • Save dogukancagatay/30fcc109e6748694a86b950b5697a9d2 to your computer and use it in GitHub Desktop.
Save dogukancagatay/30fcc109e6748694a86b950b5697a9d2 to your computer and use it in GitHub Desktop.
Oracle Java Install Ubuntu 16.04
#!/usr/bin/env bash
JAVA_VERSION="8"
sudo apt-get install --yes python-software-properties
sudo add-apt-repository --yes ppa:webupd8team/java
sudo apt-get update
sudo apt-get install --yes "oracle-java$JAVA_VERSION-installer"
sudo apt-get install --yes "oracle-java$JAVA_VERSION-set-default"
@dogukancagatay
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment