PDA

View Full Version : [ubuntu] Help with java



duthieamber
November 4th, 2009, 10:04 PM
Hi I am trying to download and install Java for Ubuntu 9.10 and am having alot of trouble could someone please give me step by step instructions on how to do this?
Thanks,
Amber

73ckn797
November 4th, 2009, 10:09 PM
You can get it via Applications/Ubuntu Software Center/Other. Look for "Ubuntu restricted extras". It is so much easier that way.

duthieamber
November 4th, 2009, 10:15 PM
It says waiting for other software managers to quit . what does that mean?

issih
November 4th, 2009, 10:18 PM
It means you have something else open that accesses the ubuntu repositories...either synaptic package manager, a terminal runnign apt-get or the update manager are the usual suspects.

Close those, then try again

Hope that helps

duthieamber
November 4th, 2009, 10:21 PM
but none of those are open... I'm so confused

issih
November 4th, 2009, 10:28 PM
Well, if in doubt I'd log out and back in again as the simplest possible fix...and if thats not it reboot.

I could tell you to look at the process table and try to find the rogue synaptic process or whatever it is, but this is a million times easier.

duthieamber
November 4th, 2009, 10:35 PM
restarted the computer and i am still getting that message ... please help

issih
November 4th, 2009, 10:53 PM
Hmmn, it seems that the new software centre does a poor job of reporting error messages:

https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/464020

That bug listing implies that it is the fairly common issue of the repos getting into a bit of a mess.

Normally this error is reported along with its solution which hopefully is:


sudo dpkg --configure -a

Open a terminal window (Applications->Accessories->terminal)

and enter that line and hit enter (you can paste with the mouse)

You will then be asked for your login password, type it and hit enter (nothing will be echoed to the screem)

Hopefully that should fix it,

73ckn797
November 4th, 2009, 10:56 PM
restarted the computer and i am still getting that message ... please help

Can you find it in Synaptic Package Manager? For Java, look for sun-java6-jre and sun-java6-plugin.

issih's solution will likely work.

duthieamber
November 4th, 2009, 11:06 PM
now when i do it im getting an error message saying Package Operation Failed
The installation or removal of a software package failed. then in the box it says E:I wasn't able to locate a file for the sun-java6-jre package. This might mean you need to manually fix this package. (due to missing arch):


And when i opened Synaptic it says i have a broken package....???

issih
November 4th, 2009, 11:24 PM
Have you run the command I suggested?

here is the gui solution to broken packages, open synaptic and then:

https://help.ubuntu.com/community/SynapticHowto#How%20to%20fix%20broken%20packages

Alternatively run the following in a terminal:


sudo apt-get install --fix-missing

Hope that finally gets you up and running

laidback82
November 4th, 2009, 11:33 PM
hi there! I am having the exact same problem as the OP. Issih seems to have sorted it but.... this is a really stupid question....

I used Issih's last command prompt suggestion, the Terminal suggested I try something else, which I did... I now can't seem to accept the EULA thingy. It's the Sun disclaimer with <ok> at the end. I've scrolled down to the bottom and hit return, to no avail. How do I accept it?

Stupid, I know!

SORRY! JUST FOUND OUT HOW TO DO IT! I feel very small right now.

73ckn797
November 5th, 2009, 12:09 AM
SORRY! JUST FOUND OUT HOW TO DO IT! I feel very small right now.

Don't feel bad. We all have those things happen. It is a learning process.

duthieamber
November 5th, 2009, 05:14 PM
Thanks everybody i got it fixed!!