Comment 5 for bug 926594

Revision history for this message
Neal McBurnett (nealmcb) wrote : Re: javaldx: Could not find a Java Runtime Environment!

There are still problems with the warning message. Lets focus this bug on fixing that. Please set it to "wishlist" at least, rather than "won't fix".

It sounds like Ubuntu made a decision to not require Java for LibreOffice - presumably to reduce the default distribution size and avoid potential security exposures.

But as documented on the LibreOffice site, some features won't work without Java:

 What features absolutely require Java ? - Ask LibreOffice
 http://ask.libreoffice.org/question/696/what-features-absolutely-require-java

Note that this results in e.g. bug #780399 “Wizard doesn't run without libreoffice-java-common installed. The user should be notified to install it when running a wizard." See also this AskUbuntu question:

 How do I get LibreOffice Extensions to work in Ubuntu 12.04? - Ask Ubuntu - Stack Exchange
 http://askubuntu.com/questions/127570/how-do-i-get-libreoffice-extensions-to-work-in-ubuntu-12-04

Given all that, the warning message should change. Now it emphatically declares that there is a problem, and tells users to install a package that doesn't actually fix the problem.

I'd think we'd want it to figure out whether Java is missing or the javasettings_Linux_*.xml file is causing a problem, and give a warning with better advice to the user, e.g.:

 javaldx: LibreOffice could not find a Java Runtime Environment. That's fine if you don't rely on features that require Java like some wizards, extensions and databases (see http://ask.libreoffice.org/question/696/what-features-absolutely-require-java). If you do rely on those features, install the "libreoffice-base" package from the Ubuntu Software Center.