[Android] jared12:
Now I get this :

java -version

The program 'java' can be found in the following packages:

* default-jre

* gcj-4.8-jre-headless

* openjdk-7-jre-headless

* gcj-4.6-jre-headless

* openjdk-6-jre-headless

Try: sudo apt-get install <selected package>

jaredd12@jaredd12-HP-Pavilion-g7-Notebook-PC:~$ sudo apt-get install oracle-java6-installer

[sudo] password for jaredd12:

Sorry, try again.

[sudo] password for jaredd12:

Reading package lists... Done

Building dependency tree

Reading state information... Done

oracle-java6-installer is already the newest version.

The following packages were automatically installed and are no longer required:

ca-certificates-java fonts-dejavu-extra libatk-wrapper-java

libatk-wrapper-java-jni libbonobo2-0 libbonobo2-common libgconf2-4

libgnome2-0 libgnome2-bin libgnome2-common libgnomevfs2-0

libgnomevfs2-common libidl-common libidl0 liborbit-2-0 liborbit2 tzdata-java

Use 'apt-get autoremove' to remove them.

0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

jaredd12@jaredd12-HP-Pavilion-g7-Notebook-PC:~$ sudo add-apt-repository ppa:webupd8team/java

Oracle Java (JDK) Installer (automatically downloads and installs Oracle JDK6 / JDK7 / JDK8). There are no actual Java files in this PPA.

More info:

- for Oracle Java 7: http://www.webupd8.org/2012/01/install-oracle-java-jdk-7-in-ubuntu-via.html

- for Oracle Java 8: http://www.webupd8.org/2012/09/install-oracle-java-8-in-ubuntu-via-ppa.html

Debian installation instructions: http://www.webupd8.org/2012/06/how-to-install-oracle-java-7-in-debian.html

More info: https://launchpad.net/~webupd8team/+archive/ubuntu/java

Press [ENTER] to continue or ctrl-c to cancel adding it

gpg: keyring `/tmp/tmpiskbwdi_/secring.gpg' created

gpg: keyring `/tmp/tmpiskbwdi_/pubring.gpg' created

gpg: requesting key EEA14886 from hkp server keyserver.ubuntu.com

gpg: /tmp/tmpiskbwdi_/trustdb.gpg: trustdb created

gpg: key EEA14886: public key "Launchpad VLC" imported

gpg: Total number processed: 1

gpg: imported: 1 (RSA: 1)

OK

jaredd12@jaredd12-HP-Pavilion-g7-Notebook-PC:~$ ^V

: command not found

jaredd12@jaredd12-HP-Pavilion-g7-Notebook-PC:~$ sudo apt-get update && sudo apt-get install oracle-java6-installer

Ign http://dl.google.com stable InRelease

Ign http://us.archive.ubuntu.com trusty InRelease

Hit http://dl.google.com stable Release.gpg

Ign http://us.archive.ubuntu.com trusty-updates InRelease

Hit http://dl.google.com stable Release

Ign http://us.archive.ubuntu.com trusty-backports InRelease

Ign http://extras.ubuntu.com trusty InRelease

Ign http://archive.canonical.com trusty InRelease

Ign http://ppa.launchpad.net trusty InRelease

Ign http://security.ubuntu.com trusty-security InRelease

Ign http://download.videolan.org InRelease

Hit http://us.archive.ubuntu.com trusty Release.gpg

Hit http://dl.google.com stable/main amd64 Packages

Hit http://us.archive.ubuntu.com trusty-updates Release.gpg

Hit http://extras.ubuntu.com trusty Release.gpg

Hit http://dl.google.com stable/main i386 Packages

Hit http://archive.canonical.com trusty Release.gpg

Ign http://ppa.launchpad.net trusty InRelease

Get:1 http://security.ubuntu.com trusty-security Release.gpg [933 B]

Hit http://download.videolan.org Release.gpg

Hit http://archive.getdeb.net trusty-getdeb InRelease

Hit http://us.archive.ubuntu.com trusty-backports Release.gpg

Hit http://us.archive.ubuntu.com trusty Release

Hit http://extras.ubuntu.com trusty Release

Hit http://archive.canonical.com trusty Release

Ign http://ppa.launchpad.net trusty InRelease

Get:2 http://security.ubuntu.com trusty-security Release [58.5 kB]

Hit http://download.videolan.org Release

Hit http://us.archive.ubuntu.com trusty-updates Release

Hit http://us.archive.ubuntu.com trusty-backports Release

Hit http://extras.ubuntu.com trusty/main Sources

Ign http://ppa.launchpad.net trusty InRelease

Hit http://archive.canonical.com trusty/partner Sources

Hit http://us.archive.ubuntu.com trusty/main Sources

Hit http://download.videolan.org Sources

Hit http://us.archive.ubuntu.com trusty/restricted Sources

Hit http://extras.ubuntu.com trusty/main amd64 Packages

Ign http://ppa.launchpad.net trusty InRelease

Hit http://archive.canonical.com trusty/partner amd64 Packages

Hit http://archive.getdeb.net trusty-getdeb/apps amd64 Packages

Hit http://us.archive.ubuntu.com trusty/universe Sources

Hit http://download.videolan.org Packages

Hit http://us.archive.ubuntu.com trusty/multiverse Sources

Hit http://extras.ubuntu.com trusty/main i386 Packages

Ign http://ppa.launchpad.net trusty InRelease

Hit http://archive.canonical.com trusty/partner i386 Packages

Hit http://us.archive.ubuntu.com trusty/main amd64 Packages

Ign http://dl.google.com stable/main Translation-en_US

Get:3 http://security.ubuntu.com trusty-security/main Sources [33.4 kB]

Hit http://us.archive.ubuntu.com trusty/restricted amd64 Packages

Hit http://archive.getdeb.net trusty-getdeb/games amd64 Packages

Ign http://dl.google.com stable/main Translation-en

Hit http://ppa.launchpad.net trusty Release.gpg

Hit http://us.archive.ubuntu.com trusty/universe amd64 Packages

Hit http://us.archive.ubuntu.com trusty/multiverse amd64 Packages

Get:4 http://security.ubuntu.com trusty-security/restricted Sources [14 B]

Hit http://ppa.launchpad.net trusty Release.gpg

Hit http://us.archive.ubuntu.com trusty/main i386 Packages

Hit http://us.archive.ubuntu.com trusty/restricted i386 Packages

Get:5 http://security.ubuntu.com trusty-security/universe Sources [8,028 B]

Hit http://ppa.launchpad.net trusty Release.gpg

Hit http://us.archive.ubuntu.com trusty/universe i386 Packages

Get:6 http://security.ubuntu.com trusty-security/multiverse Sources [697 B]

Hit http://ppa.launchpad.net trusty Release.gpg

Hit http://us.archive.ubuntu.com trusty/multiverse i386 Packages

Get:7 http://security.ubuntu.com trusty-security/main amd64 Packages [111 kB]

Hit http://ppa.launchpad.net trusty Release.gpg

Hit http://us.archive.ubuntu.com trusty/main Translation-en

Hit http://ppa.launchpad.net trusty Release.gpg

Hit http://us.archive.ubuntu.com trusty/multiverse Translation-en

Hit http://archive.getdeb.net trusty-getdeb/apps i386 Packages

Hit http://ppa.launchpad.net trusty Release

Hit http://us.archive.ubuntu.com trusty/restricted Translation-en

Hit http://archive.getdeb.net trusty-getdeb/games i386 Packages

Hit http://us.archive.ubuntu.com trusty/universe Translation-en

Hit http://ppa.launchpad.net trusty Release

Get:8 http://security.ubuntu.com trusty-security/restricted amd64 Packages [14 B]

Ign http://extras.ubuntu.com trusty/main Translation-en_US

Hit http://us.archive.ubuntu.com trusty-updates/main Sources

Hit http://us.archive.ubuntu.com trusty-updates/restricted Sources

Hit http://ppa.launchpad.net trusty Release

Ign http://archive.canonical.com trusty/partner Translation-en_US

Get:9 http://security.ubuntu.com trusty-security/universe amd64 Packages [37.6 kB]

Hit http://us.archive.ubuntu.com trusty-updates/universe Sources

Ign http://extras.ubuntu.com trusty/main Translation-en

Ign http://download.videolan.org Translation-en_US

Hit http://ppa.launchpad.net trusty Release

Ign http://archive.canonical.com trusty/partner Translation-en

Hit http://us.archive.ubuntu.com trusty-updates/multiverse Sources

Get:10 http://security.ubuntu.com trusty-security/multiverse amd64 Packages [1,147 B]

Ign http://download.videolan.org Translation-en

Hit http://ppa.launchpad.net trusty Release

Get:11 http://security.ubuntu.com trusty-security/main i386 Packages [107 kB]

Hit http://ppa.launchpad.net trusty Release

Hit http://us.archive.ubuntu.com trusty-updates/main amd64 Packages

Hit http://us.archive.ubuntu.com trusty-updates/restricted amd64 Packages

Hit http://ppa.launchpad.net trusty/main amd64 Packages

Hit http://us.archive.ubuntu.com trusty-updates/universe amd64 Packages

Hit http://us.archive.ubuntu.com trusty-updates/multiverse amd64 Packages

Hit http://us.archive.ubuntu.com trusty-updates/main i386 Packages

Get:12 http://security.ubuntu.com trusty-security/restricted i386 Packages [14 B]

Hit http://ppa.launchpad.net trusty/main i386 Packages

Hit http://us.archive.ubuntu.com trusty-updates/restricted i386 Packages

Get:13 http://security.ubuntu.com trusty-security/universe i386 Packages [37.5 kB]

Hit http://us.archive.ubuntu.com trusty-updates/universe i386 Packages

Hit http://us.archive.ubuntu.com trusty-updates/multiverse i386 Packages

Get:14 http://security.ubuntu.com trusty-security/multiverse i386 Packages [1,402 B]

Hit http://us.archive.ubuntu.com trusty-updates/main Translation-en

Hit http://ppa.launchpad.net trusty/main amd64 Packages

Hit http://security.ubuntu.com trusty-security/main Translation-en

Hit http://us.archive.ubuntu.com trusty-updates/multiverse Translation-en

Hit http://ppa.launchpad.net trusty/main i386 Packages

Hit http://us.archive.ubuntu.com trusty-updates/restricted Translation-en

Hit http://security.ubuntu.com trusty-security/multiverse Translation-en

Hit http://ppa.launchpad.net trusty/main amd64 Packages

Hit http://security.ubuntu.com trusty-security/restricted Translation-en

Hit http://ppa.launchpad.net trusty/main i386 Packages

Hit http://us.archive.ubuntu.com trusty-updates/universe Translation-en

Hit http://us.archive.ubuntu.com trusty-backports/main Sources

Hit http://us.archive.ubuntu.com trusty-backports/restricted Sources

Hit http://security.ubuntu.com trusty-security/universe Translation-en

Hit http://us.archive.ubuntu.com trusty-backports/universe Sources

Ign http://archive.getdeb.net trusty-getdeb/apps Translation-en_US

Hit http://ppa.launchpad.net trusty/main amd64 Packages

Hit http://us.archive.ubuntu.com trusty-backports/multiverse Sources

Ign http://archive.getdeb.net trusty-getdeb/apps Translation-en

Hit http://us.archive.ubuntu.com trusty-backports/main amd64 Packages

Hit http://ppa.launchpad.net trusty/main i386 Packages

Hit http://us.archive.ubuntu.com trusty-backports/restricted amd64 Packages

Ign http://archive.getdeb.net trusty-getdeb/games Translation-en_US

Hit http://us.archive.ubuntu.com trusty-backports/universe amd64 Packages

Ign http://archive.getdeb.net trusty-getdeb/games Translation-en

Hit http://us.archive.ubuntu.com trusty-backports/multiverse amd64 Packages

Hit http://us.archive.ubuntu.com trusty-backports/main i386 Packages

Hit http://ppa.launchpad.net trusty/main amd64 Packages

Hit http://us.archive.ubuntu.com trusty-backports/restricted i386 Packages

Hit http://us.archive.ubuntu.com trusty-backports/universe i386 Packages

Hit http://ppa.launchpad.net trusty/main i386 Packages

Hit http://us.archive.ubuntu.com trusty-backports/multiverse i386 Packages

Hit http://us.archive.ubuntu.com trusty-backports/main Translation-en

Hit http://us.archive.ubuntu.com trusty-backports/multiverse Translation-en

Hit http://us.archive.ubuntu.com trusty-backports/restricted Translation-en

Hit http://us.archive.ubuntu.com trusty-backports/universe Translation-en

Hit http://ppa.launchpad.net trusty/main amd64 Packages

Hit http://ppa.launchpad.net trusty/main i386 Packages

Ign http://security.ubuntu.com trusty-security/main Translation-en_US

Ign http://security.ubuntu.com trusty-security/multiverse Translation-en_US

Ign http://security.ubuntu.com trusty-security/restricted Translation-en_US

Ign http://security.ubuntu.com trusty-security/universe Translation-en_US

Ign http://us.archive.ubuntu.com trusty/main Translation-en_US

Ign http://us.archive.ubuntu.com trusty/multiverse Translation-en_US

Ign http://us.archive.ubuntu.com trusty/restricted Translation-en_US

Ign http://us.archive.ubuntu.com trusty/universe Translation-en_US

Ign http://us.archive.ubuntu.com trusty-updates/main Translation-en_US

Ign http://us.archive.ubuntu.com trusty-updates/multiverse Translation-en_US

Ign http://us.archive.ubuntu.com trusty-updates/restricted Translation-en_US

Ign http://us.archive.ubuntu.com trusty-updates/universe Translation-en_US

Ign http://us.archive.ubuntu.com trusty-backports/main Translation-en_US

Ign http://us.archive.ubuntu.com trusty-backports/multiverse Translation-en_US

Ign http://us.archive.ubuntu.com trusty-backports/restricted Translation-en_US

Ign http://us.archive.ubuntu.com trusty-backports/universe Translation-en_US

Ign http://ppa.launchpad.net trusty/main Translation-en_US

Ign http://ppa.launchpad.net trusty/main Translation-en

Ign http://ppa.launchpad.net trusty/main Translation-en_US

Ign http://ppa.launchpad.net trusty/main Translation-en

Ign http://ppa.launchpad.net trusty/main Translation-en_US

Ign http://ppa.launchpad.net trusty/main Translation-en

Ign http://ppa.launchpad.net trusty/main Translation-en_US

Ign http://ppa.launchpad.net trusty/main Translation-en

Ign http://ppa.launchpad.net trusty/main Translation-en_US

Ign http://ppa.launchpad.net trusty/main Translation-en

Ign http://ppa.launchpad.net trusty/main Translation-en_US

Ign http://ppa.launchpad.net trusty/main Translation-en

Fetched 397 kB in 14s (27.9 kB/s)

Reading package lists... Done

Reading package lists... Done

Building dependency tree

Reading state information... Done

oracle-java6-installer is already the newest version.

The following packages were automatically installed and are no longer required:

ca-certificates-java fonts-dejavu-extra libatk-wrapper-java

libatk-wrapper-java-jni libbonobo2-0 libbonobo2-common libgconf2-4

libgnome2-0 libgnome2-bin libgnome2-common libgnomevfs2-0

libgnomevfs2-common libidl-common libidl0 liborbit-2-0 liborbit2 tzdata-java

Use 'apt-get autoremove' to remove them.

0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

jaredd12@jaredd12-HP-Pavilion-g7-Notebook-PC:~$ sudo apt-get purge oracle-java8-installer

Reading package lists... Done

Building dependency tree

Reading state information... Done

Package 'oracle-java8-installer' is not installed, so not removed

The following packages were automatically installed and are no longer required:

ca-certificates-java fonts-dejavu-extra libatk-wrapper-java

libatk-wrapper-java-jni libbonobo2-0 libbonobo2-common libgconf2-4

libgnome2-0 libgnome2-bin libgnome2-common libgnomevfs2-0

libgnomevfs2-common libidl-common libidl0 liborbit-2-0 liborbit2 tzdata-java

Use 'apt-get autoremove' to remove them.

0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

jaredd12@jaredd12-HP-Pavilion-g7-Notebook-PC:~$ sudo apt-get upgrade and sudo apt-get dist-upgrade

Reading package lists... Done

Building dependency tree

Reading state information... Done

Calculating upgrade... Done

E: Unable to locate package apt-get

E: Unable to locate package dist-upgrade

jaredd12@jaredd12-HP-Pavilion-g7-Notebook-PC:~$ sudo apt-get upgrade && sudo apt-get dist-upgrade

Reading package lists... Done

Building dependency tree

Reading state information... Done

Calculating upgrade... Done

The following packages were automatically installed and are no longer required:

ca-certificates-java fonts-dejavu-extra libatk-wrapper-java

libatk-wrapper-java-jni libbonobo2-0 libbonobo2-common libgconf2-4

libgnome2-0 libgnome2-bin libgnome2-common libgnomevfs2-0

libgnomevfs2-common libidl-common libidl0 liborbit-2-0 liborbit2 tzdata-java

Use 'apt-get autoremove' to remove them.

0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Reading package lists... Done

Building dependency tree

Reading state information... Done

Calculating upgrade... Done

The following packages were automatically installed and are no longer required:

ca-certificates-java fonts-dejavu-extra libatk-wrapper-java

libatk-wrapper-java-jni libbonobo2-0 libbonobo2-common libgconf2-4

libgnome2-0 libgnome2-bin libgnome2-common libgnomevfs2-0

libgnomevfs2-common libidl-common libidl0 liborbit-2-0 liborbit2 tzdata-java

Use 'apt-get autoremove' to remove them.

0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Any clue? I still have no java installed now