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

migration from OOo to libreoffice: javaldx: Could not find a Java Runtime Environment



$ sudo dpkg-reconfigure libreoffice-core
javaldx: Could not find a Java Runtime Environment!
Please ensure that a JVM and the package libreoffice-java-common
is installed.
If it is already installed then try removing
~/.libreoffice/3/user/config/javasettings_Linux_*.xml
file:///usr/lib/libreoffice/basis3.3/program/libbf_migratefilterlx.so
register component
'file:///usr/lib/libreoffice/basis3.3/program/libbf_migratefilterlx.so'
in registry '/var/lib/libreoffice/basis3.3/program/services.rdb'
successful!
javaldx: Could not find a Java Runtime Environment!
Please ensure that a JVM and the package libreoffice-java-common
is installed.
If it is already installed then try removing
~/.libreoffice/3/user/config/javasettings_Linux_*.xml
file:///usr/lib/libreoffice/basis3.3/program/libevoablx.so
register component
'file:///usr/lib/libreoffice/basis3.3/program/libevoablx.so' in
registry '/var/lib/libreoffice/basis3.3/program/services.rdb'
successful!

$ sudo dpkg-reconfigure libreoffice-base
*FINE*


I've looked into dependencies of libreoffice-core and libreoffice-base:

$ apt-cache show libreoffice-core | grep Depends | head -1
Depends: libreoffice-common (>> 1:3.3.2), ttf-opensymbol (>= 1:3.0),
libatk1.0-0 (>= 1.12.4), libc6 (>= 2.7), libcairo2 (>= 1.2.4),
libcurl3-gnutls (>= 7.16.2-1), libdb5.1, libexpat1 (>= 1.95.8),
libfontconfig1 (>= 2.8.0), libfreetype6 (>= 2.2.1), libgcc1 (>=
1:4.1.1), libgdk-pixbuf2.0-0 (>= 2.22.0), libglib2.0-0 (>= 2.16.0),
libgraphite3 (>= 1:2.3), libgstreamer-plugins-base0.10-0 (>= 0.10.0),
libgstreamer0.10-0 (>= 0.10.0), libgtk2.0-0 (>= 2.24.0),
libhunspell-1.2-0 (>= 1.2.11), libhyphen0 (>= 2.7.1), libice6 (>=
1:1.0.0), libicu44 (>= 4.4.1-1), libjpeg62 (>= 6b1), libmythes-1.2-0,
libneon27-gnutls (>= 0.29.3-3), libnspr4-0d (>= 1.8.0.10), libnss3-1d
(>= 3.12.0~1.9b1), libpango1.0-0 (>= 1.14.0), libpng12-0 (>=
1.2.13-4), libsm6, libssl1.0.0 (>= 1.0.0), libstdc++6 (>= 4.5),
libtextcat0 (>= 2.2-8), libx11-6, libxaw7, libxext6, libxinerama1,
libxml2 (>= 2.7.4), libxrandr2, libxrender1, libxslt1.1 (>= 1.1.25),
libxt6, ure (>= 1.7.0+LibO3.3.0~beta3), zlib1g (>= 1:1.1.4), librdf0
(>= 1.0.13), fontconfig

$ apt-cache show libreoffice-base | grep Depends | head -1
Depends: libreoffice-core (= 1:3.3.2-3), libreoffice-base-core (=
1:3.3.2-3), libc6 (>= 2.2.5), libgcc1 (>= 1:4.1.1), libstdc++6 (>=
4.5), ure (>= 1.7.0+LibO3.3.0~beta3), default-jre | gcj-jre |
java-gcj-compat | openjdk-6-jre | sun-java5-jre | sun-java6-jre |
java5-runtime | jre, libhsqldb-java (>> 1.8.0.10), libhsqldb-java (<<
1.8.1~), libreoffice-java-common (>= 1:3.3.2~)


There're two things I don't understand:
1) libreoffice-base does list JREs in his dependencies while
libreoffice-core doesn't. But "dpkg-reconfigure libreoffice-base" goes
fine and "dpkg-reconfigure libreoffice-core" gives a warning about
missing JRE. So which of them really needs it? Note that base depends
on core, not vice versa so you can in theory install core without base
and without JRE.
2) I've checked packages from the list "default-jre | gcj-jre |
java-gcj-compat | openjdk-6-jre | sun-java5-jre | sun-java6-jre |
java5-runtime | jre" and found that gcj-jre is actually installed:

$ dpkg -l gcj-jre | grep ^ii
ii  gcj-jre                                  4:4.4.5-7
             Java runtime environment using GIJ/classpath

So I don't understand why this issue hapenned at all. libreoffice
seems to work fine. I don't know exactly which functionality depends
on JRE so I don't know if it really works or not. Probably I've seen
the same error with OOo but I don't remember because there have been a
while since I had upgrade my sid last time.


Any comments on that?


Reply to: