How to install java on Ubuntu 12.04 64bits

Asked by Danny Tenhoff

I have install Ubuntu 12.04 lts on a friends computer.

She plays games on facebook and on pogo.
I get a message to install java and I have tried to install the java but it will not install!
How do I get it so my friend can play her games online?

-------

It is a 64bit amd home build, When she went online to play her games on facebook and also on pogo she gets a message to install java.

So I have tried to install the java, it did not work!

So I did the upgade to Ubuntu 12.04 and We still cannot get it so you can play online games.

What do I need to do to fix it so she can play her online games.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu software-center Edit question
Assignee:
No assignee Edit question
Solved by:
Wyatt Smith
Solved:
Last query:
Last reply:
Revision history for this message
Best Wyatt Smith (wyatt-smith) said :
#1

Try installing the lastest java and browser plugin with

sudo apt-get install openjdk-7-jre icedtea-plugin

Revision history for this message
Karthi (senti10) said :
#2

Below steps will help you to Install Java.

1. Go to Applications (or Main Menu) > Accessories > Terminal.
2. Enter sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner" to add the partner repository.
3. Enter sudo apt-get update to update the source list.
4. Enter sudo apt-get install sun-java6-jre sun-java6-plugin sun-java6-fonts to download and install the Sun Java packages. (If asked to accept the Distributor License for Java (DLJ) terms, use the left/right key to navigate and select Yes, then presses the Enter key for installation).
5. Enter sudo java -version to check the version of the Java used in the system.
6. Enter sudo update-alternatives --config java to choose the default Java for use in the system when necessary.

For your information it works well to me hence I hope it will solve your problem Let's try the same.

Karthi :)

Revision history for this message
Danny Tenhoff (dt1162) said :
#3

Thank you it did work for awhile but I am having trouble. With pogo.

Revision history for this message
Jeroen (j-burgmans) said :
#4

thank you wyatt, I just used this to install java on 14.04. A really nice solution for newby's like myself.