Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

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 has been asked before and already has an answer. If those answers do not fully address your question, please ask a new 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

1 Answer 1

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.