Ubuntu 12.04 cannot tar extract complete and issue install content of JDK7 download

Asked by Ysmael Zapanta

Hello,

There is issue in following this procedures when install Java JDK7
http://www.devsniper.com/ubuntu-12-04-install-sun-jdk-6-7/

My fresh installation of Ubuntu 12.04 desktop cannot tar exract download Oracle JDK7 download
http://download.oracle.com/otn-pub/java/jdk/7u51-b13/jdk-7u51-linux-x64.tar.gz
- download has this message when using "tar -xvzf"

gzip: stdin: unexpected end of file
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now

Continued to use demo download
http://download.oracle.com/otn-pub/java/jdk/7u51-b13-demos/jdk-7u51-linux-x64-demos.tar.gz
Then following this procedures to setup Java cannot install properly

Thank You

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu apt Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Did you try the Webupd8 Java PPA?
Have you reported the issue to Oracle?

Revision history for this message
Best actionparsnip (andrew-woodhead666) said :
#2

Did you copy the question from
https://answers.launchpad.net/ubuntu/+source/apt/+question/246228

It's word for word the same. ....

Revision history for this message
Ysmael Zapanta (zapanta) said :
#3

Did you try the Webupd8 Java PPA?
Have you reported the issue to Oracle?
>> Yes have been tried web updating JAVA PPA
>> No not reported issue to Oracle yet

Did you copy the question from
https://answers.launchpad.net/ubuntu/+source/apt/+question/246228
>> No did not copy this question, somebody must have resubmitted my question

Revision history for this message
Ysmael Zapanta (zapanta) said :
#4

http://community.linuxmint.com/tutorial/view/1414

To add our PPA and install the latest Oracle Java 7 in Ubuntu (supports Ubuntu 13.10, 13.04, 12.10, 12.04 and 10.04), use the commands below:

> sudo add-apt-repository ppa:webupd8team/java
> sudo apt-get update
> sudo apt-get install oracle-java7-installer

>>> This solve the problem, but have been using the previous method in most of my Ubuntu 12.04 installations
>>> It should have the same results when I successfully installed it previously