java for ubuntu 10.04 installation

Asked by Jerry Wheeler

I am new to Linux and need help to install java on my computer. I use websites thet require java. I tried the command i saw on another website but when i hit enter nothing happens

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu openjdk-6 Edit question
Assignee:
No assignee Edit question
Solved by:
Eliah Kagan
Solved:
Last query:
Last reply:
Revision history for this message
Best Eliah Kagan (degeneracypressure) said :
#1

Go to Applications > Ubuntu Software Center.

If you want the official free open source software Java, type in "openjdk" (without the quotes) in the search box. Install these three packages:

OpenJDK Java 6 Runtime
OpenJDK Java 6 Web Start
Icedtea Java Plugin

If you want the official proprietary Java, go to Edit > Software Sources..., click the Other Software tab, find Canonical Partners, check the box, and click Close. Then, under "Get Software" (in the bar on the left side of the Ubuntu Software Center window) click Canonical Partners. Click on "The Java(TM) Plug-in, Java SE 6" and click Install.

Both the free open source software version of Java and the proprietary version of Java are official, and both work very well. But generally speaking, you should only install one.

After you install Java, you'll have to quit all your web browser windows and go back into your web browser, in order to use websites with Java plugins.

Revision history for this message
Jerry Wheeler (jdinbellevue) said :
#2

I followed your instructions and found out that the three packages  that you recommended were already installed. I tested it on the Pogo games and it looked like it was going to work I logged on saw all my friends and games listed when I try to start a game it starts loading up til the final screen when the game is supposed to start then all I get is a blank window that says applet started. Once I got a message that firefox crashed and Mozzila was being notified.  I am brand new to Linux and it is possible I am missimg something. I appreciate all the help you can give me.
----- Original Message -----
From: "Eliah Kagan" <email address hidden>
To: <email address hidden>
Sent: Wednesday, February 16, 2011 6:05:26 PM
Subject: Re: [Question #145681]: java for ubuntu 10.04 installation

Your question #145681 on Ubuntu changed:
https://answers.launchpad.net/ubuntu/+question/145681

    Status: Open => Answered

Eliah Kagan proposed the following answer:
Go to Applications > Ubuntu Software Center.

If you want the official free open source software Java, type in
"openjdk" (without the quotes) in the search box. Install these three
packages:

OpenJDK Java 6 Runtime
OpenJDK Java 6 Web Start
Icedtea Java Plugin

If you want the official proprietary Java, go to Edit > Software
Sources..., click the Other Software tab, find Canonical Partners, check
the box, and click Close. Then, under "Get Software" (in the bar on the
left side of the Ubuntu Software Center window) click Canonical
Partners. Click on "The Java(TM) Plug-in, Java SE 6" and click Install.

Both the free open source software version of Java and the proprietary
version of Java are official, and both work very well. But generally
speaking, you should only install one.

After you install Java, you'll have to quit all your web browser windows
and go back into your web browser, in order to use websites with Java
plugins.

--
If this answers your question, please go to the following page to let us
know that it is solved:
https://answers.launchpad.net/ubuntu/+question/145681/+confirm?answer_id=0

If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https://answers.launchpad.net/ubuntu/+question/145681

You received this question notification because you are a direct
subscriber of the question.

Revision history for this message
Eliah Kagan (degeneracypressure) said :
#3

It sounds like maybe there's a bug in the game you ran, or in Firefox. Did you try it with Java applets on other websites? Did you try it with other web browsers (I suggest trying Google Chromium--the package is called chromium-browser).

Revision history for this message
David Jones (dj) said :
#4

   What games are you trying to run ,"if they are windows games try using wine"

   David
   in TN

Revision history for this message
Eliah Kagan (degeneracypressure) said :
#5

@David Jones
He's trying to run Java web applets, not Windows executables.

Revision history for this message
Jerry Wheeler (jdinbellevue) said :
#6

Thank you for your help Eliah. It took me a while to get it done but it works now. since I am new to Linux there was a lot of trial and error. I tried first installing the OpenJDK packages it still didn't work so I removed them and installed the Canonical Partners and it works now. Thanks again for your help.
Jerry

Revision history for this message
Jerry Wheeler (jdinbellevue) said :
#7

Thanks Eliah Kagan, that solved my question.