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

Bug#452925: openoffice.org-core: path to sun java plugin is wrong



tag 452925 + moreinfo
thanks

Hi,

Norbert Preining wrote:
> When going into Tools->Options->Java I see 2 JRE installed:
>  o Sun Microsystems Inc. 1.6.0_03
>  o Free Software Foundation 1.5.0
> but none is selected. Furthermore, if I select one of them, click OK, and

Hmm.

> The problem is that the path seems to be wrong:

How?

> When starting oowriter I get 
> 	javaldx failed!
> and when I call "Export" and select tex (LaTeX2e) I get a warning window
> stating that I don't have a usable JRE installed. At the sametime I get
> on the command line:
> 	[Java framework]sunjavaplugin.so could not load Java runtime library:
> 	file:///usr/lib/jvm/java-1.5.0-sun-1.5.0.06/jre/lib/i386/client/libjvm.so.

Did you select Sun Java 5 once? That's The path where it once was (as it
was .06)

> But this file does not exists, it should be
> 	/usr/lib/jvm/java-6-sun-1.6.0.03/jre/lib/i386/client/libjvm.so
> 
> or MUCH better
> 	/usr/lib/jvm/java-6-sun/jre/lib/i386/client/libjvm.so

1.5 != 1.6 :)

> I checked that creating a symbolic link
> 	/usr/lib/jvm/java-1.5.0-sun-1.5.0.06 -> java-6-sun
> did fix the problem.

I don't believe this is a sane solution.

That said, I can't reproduce this with what will become 2.3.1-1 soon,
though (but there shouldn't be any changes affecting this, though). It
recognizes all 3 JREs and I can choose Sun Java 5 and Sun Java 6 with
their correct paths (OOo not complaining afterwards).

> Versions of packages openoffice.org-java-common depends on:

What version is openoffice.org-java-common itself?

Can you - if upgrading openoffice.org-java-common to a matching version
if you still have the 2.2.1 one from lenny installed - does not help,
does it help wehn you remove javasettings_x86.xml from your profile and
start over?

Grüße/Regards,

René
-- 
 .''`.  René Engelhard -- Debian GNU/Linux Developer
 : :' : http://www.debian.org | http://people.debian.org/~rene/
 `. `'  rene@debian.org | GnuPG-Key ID: 248AEB73
   `-   Fingerprint: 41FA F208 28D4 7CA5 19BB  7AD9 F859 90B0 248A EB73

Attachment: signature.asc
Description: Digital signature


Reply to: