How to install JDK 7 ( i.e. jdk-7-linux-i586.tar.gz)?

Asked by Mr. Singh

I want to install JDK 7. I have downloaded it. It is in tar.gz format. Please help me installing this type of applications. I really need this. Please reply quick if possible.

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
Revision history for this message
Mr. Singh (gurbrinder007) said :
#2

No this can not help me because they have used .bin extension for jdk installation and i am using jdk tar.gz compressed binary for 32 bit platform.

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

Then extract the file and put it in the same place in the guide.....

Revision history for this message
Mr. Singh (gurbrinder007) said :
#4

When I use this command:
sudo mv ./jdk1.7.0/ /usr/lib/jvm/jdk1.7.0

It says:

mv: cannot move `./jdk1.7.0/' to `/usr/lib/jvm/jdk1.7.0': No such file or directory

I have jdk1.7.0 dir in my home dir.

Revision history for this message
Mr. Singh (gurbrinder007) said :
#5

I have created jdk folder in usr/jdk1.7.0 using nautilus.
I specially thanks to actionparsnip for his great support .

Revision history for this message
Mr. Singh (gurbrinder007) said :
#6

Thanks actionparsnip, that solved my question.