Java 1.6.0_03 is corrupted in Open Office

Asked by John Wilson

How do I fix this so I can use a database etc with Open Office?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
marcobra (Marco Braida)
Solved:
Last query:
Last reply:

This question was reopened

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#1

Try to reinstall Java.

Please open a Terminal from the menu Applications->Accessories->Terminal and type:

sudo apt-get update; sudo apt-get --reinstall install sun-java6-jre

give your user password when requested, you don't see nothing when you type it, then press enter.

Hope this help

Revision history for this message
John Wilson (jwilsondmartin) said :
#2

I think that has worked on my desktop.
On my laptop the fix seemed to stall on a screen where the system was configuring jre and I needed to say <OK> which I could not do.
When I tried reinstalling Java again on my terminal I get the following message:
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
When I try to do so I am told the requested operation requires superuser priviledge.
I do not have this, should I try and get it or should I reinstall Ubuntu?
Regards,
John

Revision history for this message
John Wilson (jwilsondmartin) said :
#3

I think that has worked on my desktop.
On my laptop the fix seemed to stall on a screen where the system was configuring jre and I needed to say <OK> which I could not do.
When I tried reinstalling Java again on my terminal I get the following message:
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
When I try to do so I am told the requested operation requires superuser priviledge.
I do not have this, should I try and get it or should I reinstall Ubuntu?
Regards,

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#4

Please open a Terminal from the menu Applications->Accessories->Terminal and type:

sudo dpkg --configure -a

then redo the:

sudo apt-get update; sudo apt-get --reinstall install sun-java6-jre

give your user password when requested, you don't see nothing when you type it, then press enter.

Thank you

Revision history for this message
John Wilson (jwilsondmartin) said :
#5

Hi,
This seems to work until I get to a screen saying "Configuring sun-java6-jre" where there is <Ok> at the bottom but if I try to highlight the <Ok> or just <Enter> nothing happens.
Then I get a CUPS server error message 'server-error-service-unavailable'
If I try and run updates I am told the software index is broken
Where do I go from here?
John

Revision history for this message
Best marcobra (Marco Braida) (marcobra) said :
#6

For Java please use TAB keyboard key to highlight th <OK> then press Enter

If you are still in problem, then try to purge and reinstall Java, type:

sudo apt-get --purge --reinstall install sun-java6-jre

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#7

First try to manual start cups service and test it:

please open a Terminal from the menu Applications->Accessories->Terminal and type:

sudo /etc/init.d/cupsys restart

give your user password when requested, you don't see nothing when you type it, then press enter.

Then try to make cups services starting at boot, menu:
System->Administration->Services --- Printer service (cupsys) --> check it

HTH

Revision history for this message
John Wilson (jwilsondmartin) said :
#8

Thanks marcobra, that solved my question.

Revision history for this message
John Wilson (jwilsondmartin) said :
#9

Sorry for the delay in getting back to you. I was away