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

i have already extracted the files in the tar.gz files i also tried the sudo update-alternatives but it only says it doest have too since i already have one jdk and then when i try java -version it says no such file. help me guys please

How do I install Oracle Java JDK 7? this is what i followed by the way all was running well until java -version

share|improve this question
I would suggest you the entire terminal output so that we can see what you were trying. – fossfreedom Sep 4 '12 at 10:33
Why don't you use this method? – BuZZ-dEE Sep 4 '12 at 10:55

Ubuntu. Oracle Java 7.

Install the Oracle JDK 7.

Install the Oracle JRE 7.

Install the Firefox/Chrome Oracle Java 7 plugin

share|improve this answer
i already installed java but i did not path it i typed which java then put it in there it works now but i still dont know how to path xD – juan Sep 6 '12 at 2:39

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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