Skip to content

Instantly share code, notes, and snippets.

@garystafford
Last active December 31, 2015 07:39
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
Code for blog post, 'Updating Ubuntu with the Latest Java JDK': http://wp.me/p1RD28-Wq
# extract new version of java from the downloaded tarball
cd ~/Downloads/Java
ls
sudo tar -zxvf jdk-7u45-linux-x64.tar.gz -C /usr/lib/jvm/
# change directories to the location of the extracted version of java
cd /usr/lib/jvm/
ls
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment