[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#532549: javaldx: Could not find a Java Runtime Environment!



Package: openoffice.org-impress
Version: 1:3.1.0-4

Here's my situation.
Somebody sends me a .pps file, so I
# aptitude install openoffice.org-impress
$ ooimpress
javaldx: Could not find a Java Runtime Environment!
Please ensure that the package openoffice.org-java-common is installed.
If it is already installed then try removing ~/.openoffice.org/3/user/config/javasettings_Linux_*.xml
# aptitude install openoffice.org-java-common
$ ooimpress
javaldx: Could not find a Java Runtime Environment!
Please ensure that the package openoffice.org-java-common is installed.
If it is already installed then try removing ~/.openoffice.org/3/user/config/javasettings_Linux_*.xml
$ rm -r ~/.openoffice.org/
javaldx: Could not find a Java Runtime Environment!
Please ensure that the package openoffice.org-java-common is installed.
If it is already installed then try removing ~/.openoffice.org/3/user/config/javasettings_Linux_*.xml
$ rm ~/.openoffice.org/3/user/config/javasettings_Linux_*.xml
$ ooimpress
javaldx: Could not find a Java Runtime Environment! 
Please ensure that the package openoffice.org-java-common is installed.
If it is already installed then try removing ~/.openoffice.org/3/user/config/javasettings_Linux_*.xml

Conclusions:
1) the openoffice.org-impress is missing the proper dependencies.
I install 72 MB and the much smaller openoffice.org-java-common was
forgotten in Depends:.

2)No tests are done before printing such messages.

The program seems to work fine (as in fine molasses), after the
dependency is installed.
So fix the dependency, and remove the warning, I say.



Reply to: