You are not logged in.

#1 2011-09-25 20:59:44

fredbezies
Member
Registered: 2011-07-28
Posts: 353

LibreOffice 3.4.3-2 and jdk7-openjdk7 not working together ?!

Hello.

I reinstalled - after removing it to be sure - libreoffice using "sudo pacman -S libreoffice".

Here is the list of packages :

[fred@fredo-arch ~]$ sudo pacman -S libreoffice
:: Il y a 11 membres dans le groupe libreoffice
:: Dépôt extra
   1) libreoffice-base  2) libreoffice-calc  3) libreoffice-common
   4) libreoffice-draw  5) libreoffice-gnome  6) libreoffice-impress
   7) libreoffice-kde4  8) libreoffice-math  9) libreoffice-sdk
   10) libreoffice-sdk-doc  11) libreoffice-writer

I selected everything but not libreoffice-kde4 (as I am using gnome).

Another choice is asked after that :

:: Il y a 2 provisions disponibles pour java-environment:
:: Dépôt testing
   1) jdk7-openjdk
:: Dépôt extra
   2) openjdk6

I choose jdk7-openjdk7 because of this message in arch-commits : http://mailman.archlinux.org/pipermail/ … 47876.html

upgpkg: libreoffice 3.4.3-2

vigra rebuild; build with java7

But I when I launch it, no java environment are found.

Running it from terminal gave me this :

[fred@fredo-arch ~]$ soffice &
[1] 6296
[fred@fredo-arch ~]$ javaldx: Could not find a Java Runtime Environment! 
Warning: failed to read path from javaldx

Libreoffice : 3.4.3-2
Java : jdk7-openjdk 7.b147_2.0-0.20110922.1

Any tips ?

Thanks.

Offline

#2 2011-09-25 21:05:49

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: LibreOffice 3.4.3-2 and jdk7-openjdk7 not working together ?!

Did you reboot? Nope, reboot doesn't fix it.
I too get this warning, but LibreOffice seems to work anyway (it starts up at least ;P)

Last edited by karol (2011-09-25 22:38:30)

Offline

#3 2011-09-25 21:42:33

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: LibreOffice 3.4.3-2 and jdk7-openjdk7 not working together ?!

"Solution": https://wiki.archlinux.org/index.php/Li … und_Errors

Edit: I found out that creating /usr/lib/jvm/java-6-openjdk/jre is enough not to get these warnings anymore.

Last edited by karol (2011-09-25 22:37:49)

Offline

#4 2011-09-26 05:00:40

fredbezies
Member
Registered: 2011-07-28
Posts: 353

Re: LibreOffice 3.4.3-2 and jdk7-openjdk7 not working together ?!

karol wrote:

"Solution": https://wiki.archlinux.org/index.php/Li … und_Errors

Edit: I found out that creating /usr/lib/jvm/java-6-openjdk/jre is enough not to get these warnings anymore.

Thanks for the tip. I will apply it asap. Have a good day.

Offline

#5 2011-10-04 17:53:36

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: LibreOffice 3.4.3-2 and jdk7-openjdk7 not working together ?!

Status? I would like to add this workaround to the wiki, but I'm not sure if it's working just for me.

Offline

#6 2011-10-04 19:24:24

fredbezies
Member
Registered: 2011-07-28
Posts: 353

Re: LibreOffice 3.4.3-2 and jdk7-openjdk7 not working together ?!

I "downgraded" to openjdk6 for now.

Offline

#7 2011-10-05 14:19:09

AndyRTR
Developer
From: Magdeburg/Germany
Registered: 2005-10-07
Posts: 1,641

Re: LibreOffice 3.4.3-2 and jdk7-openjdk7 not working together ?!

Please check the new libreoffice version in testing. It should work with openjdk6 and jre7-openjdk. Not sure if closed Oracle jre7 from AUR will also get detected.

Offline

#8 2011-10-05 14:48:20

fredbezies
Member
Registered: 2011-07-28
Posts: 353

Re: LibreOffice 3.4.3-2 and jdk7-openjdk7 not working together ?!

AndyRTR wrote:

Please check the new libreoffice version in testing. It should work with openjdk6 and jre7-openjdk. Not sure if closed
Oracle jre7 from AUR will also get detected.

Thanks for the info. Yaourt -Syu will be my friend smile

Java7 is recognized, great. Too bad java web plugin could be blacklisted because of security matters.

Last edited by fredbezies (2011-10-05 14:58:07)

Offline

Board footer

Powered by FluxBB