How to fix OpenOffice.org requires JRE error on Ubuntu

I have the latest Java Runtime Environment installed but this error always comes up when I'm trying to export my writer document to html/xhtml.

OpenOffice.org JRE error

When I open Tools -> Options -> Java, I didn't find any JRE which is supposed to be detected by OpenOffice.org. I tried to figure out whats missing with my OpenOffice.org and after installing openoffice.org-writer2latex, I finally get OpenOffice.org export to html/xhtml working.
To fix this problem just open Applications -> Accessories -> Terminal and type:

apt-get install openoffice.org-writer2latex

After you install the openoffice.org-writer2latex package, open Tools -> Options -> Java.
Verify if OpenOffice.org detects your Java Runtime Environments.

OpenOffice.org JRE
No votes yet

Comments

Anonymous's picture

The point is, you have to install the «openoffice.org-java-common» package:
$ sudo apt-get install openoffice.org-java-common

I suppose the latex package has an dependance to the java-common installs it automatically.

So you don't need the latex package, but only the java-common.

Richard's picture
Member since:
28 May 2008
Last activity:
23 hours 13 min

I don't have any idea, I've tried to find possible solutions across the web but unfortunately I didn't find anything. So I decided to check what OO.org packages is installed on my system and I checked also what else is available on the repo. Upon checking on the Ubuntu repo I found the openoffice.org-writer2latex package, that particular package makes me think that something is missing why the JRE is not detected in OO.org though it is installed. What I did was installed that package and it worked.

Anonymous's picture

I installed this package on my own earlier before reading this post and OO.org wouldnt detect my java. After reinstalling the package it came up.

Do you have any idea why this certain package makes OO.org realise you have java installed ?

Post new comment

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • You may quote other posts using [quote] tags.

More information about formatting options