Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

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

389 views
Skip to first unread message

Adrian Bunk

unread,
Sep 22, 2011, 11:20:01 AM9/22/11
to
Package: ure
Version: 3.4.3-2
Severity: normal

<-- snip -->

$ rm -rf .libreoffice
$ libreoffice
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
Warning: failed to read path from javaldx
$ /usr/lib/ure/bin/javaldx
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
$

<-- snip -->


-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.4 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages ure depends on:
ii libc6 2.13-18
ii libgcc1 1:4.6.1-11
ii libstdc++6 4.6.1-11
ii libxml2 2.7.8.dfsg-4
ii uno-libs3 3.4.3-2

ure recommends no packages.

Versions of packages ure suggests:
ii cli-uno-bridge <none>
ii openjdk-7-jre [java5-runtime] 7~b147-2.0~pre5-1

-- debconf information excluded



--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Rene Engelhard

unread,
Sep 22, 2011, 12:20:04 PM9/22/11
to
retitle 642425 ure: javaldx doesn't recognize OpenJDK 7
thanks

On Thu, Sep 22, 2011 at 06:12:14PM +0300, Adrian Bunk wrote:
> $ rm -rf .libreoffice
> $ libreoffice
> 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
> Warning: failed to read path from javaldx
> $ /usr/lib/ure/bin/javaldx
> 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
> $

[...]


> Versions of packages ure suggests:
> ii cli-uno-bridge <none>
> ii openjdk-7-jre [java5-runtime] 7~b147-2.0~pre5-1

Aha, OpenJDK 7.

Works with OpenJDK 6:

# /usr/lib/ure/bin/javaldx
/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/amd64/client:/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/amd64/server:/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/amd64/native_threads:/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/amd64

But yes, I can confirm with only openjdk-7-jre installed (clean sid + openjdk-7-jdk + libreoffice)

Grüße/Regards,

René
--
.''`. René Engelhard -- Debian GNU/Linux Developer
: :' : http://www.debian.org | http://people.debian.org/~rene/
`. `' re...@debian.org | GnuPG-Key ID: D03E3E70
`- Fingerprint: E12D EA46 7506 70CF A960 801D 0AA0 4571 D03E 3E70

Rene Engelhard

unread,
Sep 22, 2011, 12:30:02 PM9/22/11
to
On Thu, Sep 22, 2011 at 06:15:03PM +0200, Rene Engelhard wrote:
> Aha, OpenJDK 7.
>
> Works with OpenJDK 6:
>
> # /usr/lib/ure/bin/javaldx
> /usr/lib/jvm/java-6-openjdk-amd64/jre/lib/amd64/client:/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/amd64/server:/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/amd64/native_threads:/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/amd64
>
> But yes, I can confirm with only openjdk-7-jre installed (clean sid + openjdk-7-jdk + libreoffice)

Thankfully default-jre still is openjdk-6-jre :)

Grüße/Regards,

René

Rene Engelhard

unread,
Sep 22, 2011, 2:40:02 PM9/22/11
to
tag 642425 + pending
thanks

Hi,

On Thu, Sep 22, 2011 at 06:15:03PM +0200, Rene Engelhard wrote:

> > $ /usr/lib/ure/bin/javaldx
> > 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
> > $
> [...]
> > Versions of packages ure suggests:
> > ii cli-uno-bridge <none>
> > ii openjdk-7-jre [java5-runtime] 7~b147-2.0~pre5-1
>
> Aha, OpenJDK 7.

[...]


>
> Works with OpenJDK 6:
>
> # /usr/lib/ure/bin/javaldx
> /usr/lib/jvm/java-6-openjdk-amd64/jre/lib/amd64/client:/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/amd64/server:/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/amd64/native_threads:/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/amd64
>
> But yes, I can confirm with only openjdk-7-jre installed (clean sid + openjdk-7-jdk + libreoffice)

Works with http://cgit.freedesktop.org/libreoffice/core/patch/?id=549e54fb2f8113502743c443d6deadfe648dede1 applied ...:

# /usr/lib/ure/bin/javaldx
/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/client:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/server:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/native_threads:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64

... which I'll now add to debian/patches -> pending. Thanks for the report.

Adrian Bunk

unread,
Sep 22, 2011, 2:50:01 PM9/22/11
to
On Thu, Sep 22, 2011 at 08:30:53PM +0200, Rene Engelhard wrote:
>...
> On Thu, Sep 22, 2011 at 06:15:03PM +0200, Rene Engelhard wrote:
> > > $ /usr/lib/ure/bin/javaldx
> > > 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
> > > $
> > [...]
> > > Versions of packages ure suggests:
> > > ii cli-uno-bridge <none>
> > > ii openjdk-7-jre [java5-runtime] 7~b147-2.0~pre5-1
> >
> > Aha, OpenJDK 7.
> [...]
> >
> > Works with OpenJDK 6:
> >
> > # /usr/lib/ure/bin/javaldx
> > /usr/lib/jvm/java-6-openjdk-amd64/jre/lib/amd64/client:/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/amd64/server:/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/amd64/native_threads:/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/amd64
> >
> > But yes, I can confirm with only openjdk-7-jre installed (clean sid + openjdk-7-jdk + libreoffice)
>
> Works with http://cgit.freedesktop.org/libreoffice/core/patch/?id=549e54fb2f8113502743c443d6deadfe648dede1 applied ...:
>
> # /usr/lib/ure/bin/javaldx
> /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/client:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/server:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/native_threads:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64
>
> ... which I'll now add to debian/patches -> pending. Thanks for the report.


Thanks for the quick debugging and fixing!


> Grüße/Regards,
>
> René

cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
0 new messages