How to install JDK 7 on Ubuntu?

The installation should be with the tar archive.

I know the basic installation with the bin, but how to do with only a tar archive?

link|improve this question
feedback

2 Answers

up vote 0 down vote accepted

Generally when using a tar archive, you'd just add the path to the compiler executable in the extracted tar file to your $PATH variable, or if you're using an IDE like Eclipse, specify the compiler manually.

link|improve this answer
feedback

The difference between .bin and tar archive is that, .bin is self extracting while tar archive will require you to use a third part application like "tar" command in linux to extract its contents.

To do so in extract a tar archive in ubuntu on command line type:-

$ tar xvf <tar-archive-filename>
link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.