Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have searched widely for an answer to this, but I couldn't find anything that would work. I currently have JRE version 1.6.0_26 (which I suspect is 6u26) however I want to upgrade it to the latest version (u31?). I can't use apt-get because the repository isn't there, so how could I install it another way?

share|improve this question
1  
Of the methods you found, what have you tried and what didn't work for you? –  slhck Apr 6 '12 at 18:42
    
Installing from a PPA repository (which only installed update 26 for me) and enabling the universe repository in the package manager. –  Alex Apr 6 '12 at 18:44
add comment

3 Answers

up vote 0 down vote accepted

Its actually really easy, just download the bin file and execute it from the terminal (CD to the folder that it is in, then do ./.bin). Im not an expert with Ubuntu but its worth a try. Then move the exported files to your home folder or anywhere else and to run a java application, simply cd to the java directory and do ./java -jar .jar or whatever you wanna execute. Again, I have only done this once and can barely remember the steps. Excuse me if im wrong and there is probably a better, permanent way where you dont always have to run it from terminal and you can just double click a jar file to run it.

share|improve this answer
add comment
sudo apt-get install openjdk-7-jre

then

sudo apt-get install icedtea6-plugin

or

sudo add-apt-repository ppa:ferramroberto/java
sudo apt-get update
sudo apt-get install sun-java6-jre sun-java6-plugin sun-java6-fonts
share|improve this answer
add comment

Go to the Java site and check your installed version. Then you will get a link to download the latest version (including linux) along with detailed instructions to install.

share|improve this answer
add comment

Your Answer

 
discard

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.