Skip to content

Instantly share code, notes, and snippets.

@hfeeki
Last active January 1, 2016 04:49
Show Gist options
  • Save hfeeki/8094608 to your computer and use it in GitHub Desktop.
Save hfeeki/8094608 to your computer and use it in GitHub Desktop.
Install oracle jdk6/7
#!/bin/bash
# installing oracle jdk6/7 on ubuntu's
sudo apt-get install -y python-software-properties
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install -y oracle-java6-installer
sudo apt-get install -y oracle-java7-installer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment