java problems when I try to run macro in a spreadsheet

Asked by Henry

I opened a spreadsheet previously saved. Recorded a macro. Then opened a second spreadsheet and tried to run the macro. I got this error message:

JRE Required
OpenOffice.org requires a java runtime environment (JRE) to perform this task. Please install JRE and restart OpenOffice.org. Please install the openoffice.org java common package for this functionality.

What does one do in this situation? I went to the Sun website, and their instructions do not seem to apply to Ubuntu, only to Redhat, etc. My synaptics package manager doesn't show anything remotely like a JRE.

Any suggestions?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu openoffice.org Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#1

Please simply install Java

How to install Java

Be sure all software sources are selected under menu: System->Administration->Software source: Ubuntu software

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

sudo aptitude update
sudo apt-get upgrade
sudo aptitude install sun-java6-jre sun-java sun-java6-bin sun-java6-plugin

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

Hope this helps

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

Also please install supplemental fonts using the msttcorefonts installer, to get the common Microsoft TrueType core fonts:

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

sudo apt-get install msttcorefonts

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

Hope this helps

Can you help with this problem?

Provide an answer of your own, or ask Henry for more information if necessary.

To post a message you must log in.