Skip to content

Instantly share code, notes, and snippets.

@DarkPark
Created November 24, 2013 14:20
Show Gist options
  • Save DarkPark/7627792 to your computer and use it in GitHub Desktop.
Save DarkPark/7627792 to your computer and use it in GitHub Desktop.
How to install oracle JRE on Ubuntu.
#!/bin/bash
# step 1
# download tar.gz from oracle site http://www.oracle.com/technetwork/java/javase/downloads/index.html
# for example jre-7u45-linux-i586.tar.gz
# step 2
# prepare build tools
sudo apt-get install java-package
# step 3
# build a package
make-jpkg jre-7u45-linux-i586.tar.gz
# step 4
# install it
sudo dpkg -i oracle-java7-jre_7u45_i386.deb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment