PDA

View Full Version : [ubuntu] error installing java



parapaali
August 21st, 2008, 03:10 PM
I have tried to install sun java in ubuntu 8.04 but get the error:

E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.

How do i do that?:P

Vivaldi Gloria
August 21st, 2008, 06:30 PM
I have tried to install sun java in ubuntu 8.04 but get the error:

E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.

How do i do that?:P

Start "terminal" from apps menu > accessories. Then type


sudo dpkg --configure -a

and press enter. This should fix it.

meyer99
August 21st, 2008, 09:41 PM
Just downloalded jre-6u7-linux-i586.bin
I d clik to launch application and system is asking me to choose an application to open link.
What should I choose? from which folder?

Thank you/

Vivaldi Gloria
August 21st, 2008, 09:51 PM
Can't you install using synaptic?

system menu > admin > synaptic

Enable restricted and multiverse repositories from the repository settings to get a more complete list. Then click refresh.

Now you can search and install whatever you want in synaptic. For example search and install


ubuntu-restricted-extras

which contains java, codecs, and other goodies.

meyer99
August 21st, 2008, 10:27 PM
First time with Ubuntu. No clue how to implement your suggestion. Could you post a couple of jpg's so I can see.
Thanks a lot.

tangibleorange
August 21st, 2008, 10:29 PM
First time with Ubuntu. No clue how to implement your suggestion. Could you post a couple of jpg's so I can see.
Thanks a lot.

try typing this at a terminal:


sudo apt-get install ubuntu-restricted-extras

and see what happens.

meyer99
August 21st, 2008, 10:58 PM
Tangible and Gloria: thanks
Is downloading a lot of stuff. When it finishes it will be all set?

tangibleorange
August 21st, 2008, 10:59 PM
Tangible and Gloria: thanks
Is downloading a lot of stuff. When it finishes it will be all set?

should be. after its done, just open firefox and try going to a page with java on it. BTW that package also installs flash and MP3 plugins.

also if you want the java development kit (for creating java programs), you need this command:


sudo apt-get install sun-java6-jdk