Skip to content

Instantly share code, notes, and snippets.

@Cassie-von-Clausewitz
Created January 11, 2015 20:22
Show Gist options
  • Save Cassie-von-Clausewitz/5d3870c0f3c1205c7e9c to your computer and use it in GitHub Desktop.
Save Cassie-von-Clausewitz/5d3870c0f3c1205c7e9c to your computer and use it in GitHub Desktop.
Computer Science 1 Java Setup Ubuntu
#!/usr/bin/env bash
sudo su
#add the java 8 repo
sudo add-apt-repository -y ppa:webupd8team/java
#add the Sublime Text 3 repo
sudo add-apt-repository -y ppa:webupd8team/sublime-text-3
#update
apt-get -y update
#automated install of java 8 from webupd8
echo oracle-java8-installer shared/accepted-oracle-license-v1-1 select true | sudo /usr/bin/debconf-set-selections
#set path variables
sudo apt-get install -y oracle-java8-set-default
# install text editors
sudo apt-get install -y vim
sudo apt-get install -y emacs24-nox
sudo apt-get install -y sublime-text-installer
# finished
echo "All done! Now do your homework! :)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment