Created
November 24, 2013 14:20
-
-
Save DarkPark/7627792 to your computer and use it in GitHub Desktop.
How to install oracle JRE on Ubuntu.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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