Bugs item #3554812, was opened at 2012-08-06 04:56
Message generated for change (Comment added) made by nobody
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=655717&aid=3554812&group_id=110216

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: LibreOffice integration
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Helge Hielscher (testerus)
Assigned to: Nobody/Anonymous (nobody)
Summary: JNI exception during install

Initial Comment:
When I try to install languagetool in LibreOffice I get:
(com.sun.star.uno.RuntimeException) { { Message = "JNI exception occured" 
Context= (com.sun.star.uno.XInterface) @7f85ec0332f8
(ImplementationName = "com.sun.star.comp.JavaVirtualMachine") } }

OS: Mageia Linux Cauldron

# uname -a
Linux iwan 3.5.0-desktop-1.mga3 #1 SMP Sat Jul 28 00:29:28 UTC 2012 x86_64 
x86_64 x86_64 GNU/Linux
# rpm -qa|grep -i libreoffice
libreoffice-draw-3.6.0.4-3.mga3
libreoffice-base-3.6.0.4-3.mga3
libreoffice-core-3.6.0.4-3.mga3
libreoffice-impress-3.6.0.4-3.mga3
libreoffice-opensymbol-fonts-3.6.0.4-3.mga3
libreoffice-writer-3.6.0.4-3.mga3
libreoffice-langpack-en-3.6.0.4-3.mga3
libreoffice-calc-3.6.0.4-3.mga3
libreoffice-math-3.6.0.4-3.mga3
libreoffice-3.6.0.4-3.mga3
libreoffice-ogltrans-3.6.0.4-3.mga3
libreoffice-graphicfilter-3.6.0.4-3.mga3
libreoffice-ure-3.6.0.4-3.mga3
libreoffice-javafilter-3.6.0.4-3.mga3
libreoffice-java-common-3.6.0.4-3.mga3
libreoffice-presenter-screen-3.6.0.4-3.mga3
libreoffice-pdfimport-3.6.0.4-3.mga3

Same error with current snapshot (LanguageTool-20120805-snapshot.oxt)

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2012-08-10 02:11

Message:
The only thing I can suggest now is to install the JVM from Oracle and try
with that. We're having lots of Java integration problems, but "JNI
exception occured" is new to me.

Report with similar problem but no real solution:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=466300


----------------------------------------------------------------------

Comment By: Helge Hielscher (testerus)
Date: 2012-08-09 12:41

Message:
$ java -version
java version "1.7.0_03-icedtea"
OpenJDK Runtime Environment (mageia-2.2.1.1.mga3-x86_64)
OpenJDK 64-Bit Server VM (build 23.0-b21, mixed mode)
$ /usr/lib/jvm/jre-1.6.0-sun/bin/java -version
java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02, mixed mode)

This is a x86-64 distribution, so libreoffice should be built in 64bit, and
it is:
$ file /usr/lib64/libreoffice/program/libswlo.so
/usr/lib64/libreoffice/program/libswlo.so: ELF 64-bit LSB shared object,
x86-64, version 1 (GNU/Linux), dynamically linked,
BuildID[sha1]=0x64d59a108b762c8fe50953a0d20f2a17787c8d7f, stripped

----------------------------------------------------------------------

Comment By: Daniel Naber (dnaber)
Date: 2012-08-09 10:40

Message:
Is that a 64bit version of LibreOffice? If not, you will need a 32bit
Java., preferably the one you can download from Oracle. Both 1.7 and 1.6
*should* work, but there may be less problems with 1.6.

----------------------------------------------------------------------

Comment By: Helge Hielscher (testerus)
Date: 2012-08-09 04:42

Message:
As you see above libreoffice-java-common is installed.
But libreoffice does not list Java 1.6, only 1.7 – could that be the
culprit? (both jre-1.7.0-openjdk.x86_64 and jre-1.6.0-sun are installed on
this system)


----------------------------------------------------------------------

Comment By: Daniel Naber (dnaber)
Date: 2012-08-07 13:19

Message:
Did you have a look at http://www.languagetool.org/issues/, especially the
hint for Ubuntu?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=655717&aid=3554812&group_id=110216

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Languagetool-cvs mailing list
Languagetool-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-cvs

Reply via email to