Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
How do I install tar bz2 and gz files?

I am trying to install Java 7 via tar.gz, but when it comes to the command "./configure", it says it don't exist. I am using Ubuntu 11.10 with latest updates.

The manual I looked is this:

share|improve this question

marked as duplicate by Jjed, Jorge Castro, Octavian Damiean, htorque, Bruno Pereira Feb 4 '12 at 0:47

This question was marked as an exact duplicate of an existing question.

did you do the part of cd path-to-software ? – viyyer Feb 2 '12 at 21:22
What tar.gz file is it? Each tarball is different, and you need to view the README or INSTALL file to figure it out. – Jjed Feb 2 '12 at 21:31

I am guessing you have an already compiled TAR ball from therefore you don't need to compile JAVA.

In a nutshell: Simply extract it into a folder (sometimes /opt/java) and create a symlink of the java executable to /usr/bin/java and configure further with update-alternatives.

See the Easy Linux Tips Project: Oracle (Sun) Java JRE for Ubuntu, Linux Mint and Debian for detailed instructions.

share|improve this answer

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