Websites keep saying I need to install the lastest version of Java, but installation is not working.

Asked by Renee Chambers

I accessed the Java website and attempted to use the install instructions, but I keep getting the following error msg:

chambers@chambers-System-Product-Name:~$ tar zxvf jre-7u7-linux-i586.tar.gz
tar (child): jre-7u7-linux-i586.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now

Question information

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

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

Will install Oracle Java 1.7 for you

Revision history for this message
Renee Chambers (mrchambers1999) said :
#2

Thanks actionparsnip, that solved my question.