ubuntu

5 11 7 Reddit 9 Submit 2 Click here to find out more! Install Oracle Java 7 in Ubuntu 12.10 Add JRE 7 & JDK 7 in Ubuntu 12.10


reference: http://www.itworld.com/software/305913/install-oracle-java-7-ubuntu-1210

To install JRE 7:

1. Open a terminal window.

2. Type in the following commands then hit Enter after each.

sudo sh -c “echo ‘deb http://www.duinsoft.nl/pkg debs all’ >> /etc/apt/sources.list”

sudo apt-get update

sudo apt-key adv –keyserver keys.gnupg.net –recv-keys 5CB26B26

sudo apt-get update

sudo apt-get install update-sun-jre

To install JDK 7 on i386 32-bit systems:

1. Open a terminal window.

2. Type in the following commands then hit Enter after each.

cd /tmp

wget -c –no-cookies –header “Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com” “http://goo.gl/g9cJl” -O jdk-7u7-nb-7_2-linux-i586-ml.sh

chmod +x jdk-7u7-nb-7_2-linux-i586-ml.sh

sudo sh jdk-7u7-nb-7_2-linux-i586-ml.sh

To install JDK 7 on AMD 64-bit systems:

cd /tmp

wget -c –no-cookies –header “Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com” “http://goo.gl/AJ1oS” -O jdk-7u7-nb-7_2-linux-x64-ml.sh

chmod +x jdk-7u7-nb-7_2-linux-x64-ml.sh

sudo sh jdk-7u7-nb-7_2-linux-x64-ml.sh

When the install is complete, use these commands:

sudo mkdir -p /usr/lib/jvm/

sudo cp -R /usr/local/jdk1.7.0* /usr/lib/jvm/

sudo update-alternatives –install /usr/bin/javac javac /usr/lib/jvm/jdk1.7.0_07/bin/javac 1

sudo update-alternatives –install /usr/bin/java java /usr/lib/jvm/jdk1.7.0_07/bin/java 1

Advertisements

2 thoughts on “5 11 7 Reddit 9 Submit 2 Click here to find out more! Install Oracle Java 7 in Ubuntu 12.10 Add JRE 7 & JDK 7 in Ubuntu 12.10”

  1. I think that everything wrote made a lot of sense.
    However, think about this, suppose you wrote a catchier title?

    I ain’t saying your content is not good., but what if you added a post title to maybe get a person’s
    attention? I mean 5 11 7 Reddit 9 Submit 2 Click here to find
    out more! Install Oracle Java 7 in Ubuntu 12.10 Add JRE 7 & JDK 7 in Ubuntu 12.
    10 | Niroze’s Weblog is a little plain. You might peek at Yahoo’s home page and see how they create article titles to grab people
    to open the links. You might try adding a video or a picture or two to
    get people excited about everything’ve written. Just my opinion, it might make your blog a little bit more interesting.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s