Closed GoogleCodeExporter closed 9 years ago
You need to set -Djava.library.path when starting Java for named pipes to work,
because they rely on native libraries.
On Linux that's -Djava.library.path=/opt/openoffice.org/ure/lib - I don't have
the
Windows path right now but it should be similar.
I did look into automatically setting java.library.path at runtime
http://code.google.com/p/jodconverter/issues/detail?id=19
but seems like it's just not possible.
Original comment by mirko.na...@gmail.com
on 4 Feb 2009 at 10:20
I had -Djava.library.path set to c:\\Program Files\\OpenOffice.org 3\\program,
then
to c:\\Program Files\\OpenOffice.org 3\\URE\\java (where jar files are) and
c:\\Program Files\\OpenOffice.org 3\\Basis\\program\\classes (where some other
jar
files are).
No luck!
Original comment by Gount...@gmail.com
on 4 Feb 2009 at 10:44
FRFRFRFRFR@WWWWWWWW ~/c/Program Files/OpenOffice.org 3
$ find . -name "*jar"
./Basis/help/fr/sbasic.jar
./Basis/help/fr/scalc.jar
./Basis/help/fr/schart.jar
./Basis/help/fr/sdatabase.jar
./Basis/help/fr/sdraw.jar
./Basis/help/fr/shared.jar
./Basis/help/fr/simpress.jar
./Basis/help/fr/smath.jar
./Basis/help/fr/swriter.jar
./Basis/program/classes/agenda.jar
./Basis/program/classes/aportisdoc.jar
./Basis/program/classes/bsh.jar
./Basis/program/classes/classes.jar
./Basis/program/classes/commonwizards.jar
./Basis/program/classes/fax.jar
./Basis/program/classes/form.jar
./Basis/program/classes/hsqldb.jar
./Basis/program/classes/java_uno_accessbridge.jar
./Basis/program/classes/js.jar
./Basis/program/classes/jut.jar
./Basis/program/classes/letter.jar
./Basis/program/classes/lucene-analyzers-2.3.jar
./Basis/program/classes/lucene-core-2.3.jar
./Basis/program/classes/LuceneHelpWrapper.jar
./Basis/program/classes/officebean.jar
./Basis/program/classes/pexcel.jar
./Basis/program/classes/pocketword.jar
./Basis/program/classes/productregistration.jar
./Basis/program/classes/query.jar
./Basis/program/classes/report.jar
./Basis/program/classes/sandbox.jar
./Basis/program/classes/saxon9.jar
./Basis/program/classes/ScriptFramework.jar
./Basis/program/classes/ScriptProviderForBeanShell.jar
./Basis/program/classes/ScriptProviderForJava.jar
./Basis/program/classes/ScriptProviderForJavaScript.jar
./Basis/program/classes/sdbc_hsqldb.jar
./Basis/program/classes/table.jar
./Basis/program/classes/unoil.jar
./Basis/program/classes/web.jar
./Basis/program/classes/writer2latex.jar
./Basis/program/classes/xmerge.jar
./Basis/program/classes/XMergeBridge.jar
./Basis/program/classes/XSLTFilter.jar
./Basis/program/classes/XSLTValidate.jar
./Basis/share/Scripts/java/HelloWorld/HelloWorld.jar
./Basis/share/Scripts/java/Highlight/Highlight.jar
./Basis/share/Scripts/java/MemoryUsage/MemoryUsage.jar
./URE/java/agenda.jar
./URE/java/aportisdoc.jar
./URE/java/bsh.jar
./URE/java/classes.jar
./URE/java/commonwizards.jar
./URE/java/fax.jar
./URE/java/form.jar
./URE/java/hsqldb.jar
./URE/java/java_uno.jar
./URE/java/java_uno_accessbridge.jar
./URE/java/js.jar
./URE/java/juh.jar
./URE/java/jurt.jar
./URE/java/jut.jar
./URE/java/letter.jar
./URE/java/lucene-analyzers-2.3.jar
./URE/java/lucene-core-2.3.jar
./URE/java/LuceneHelpWrapper.jar
./URE/java/officebean.jar
./URE/java/pexcel.jar
./URE/java/pocketword.jar
./URE/java/productregistration.jar
./URE/java/query.jar
./URE/java/report.jar
./URE/java/ridl.jar
./URE/java/sandbox.jar
./URE/java/saxon9.jar
./URE/java/ScriptFramework.jar
./URE/java/ScriptProviderForBeanShell.jar
./URE/java/ScriptProviderForJava.jar
./URE/java/ScriptProviderForJavaScript.jar
./URE/java/sdbc_hsqldb.jar
./URE/java/table.jar
./URE/java/unoil.jar
./URE/java/unoloader.jar
./URE/java/web.jar
./URE/java/writer2latex.jar
./URE/java/xmerge.jar
./URE/java/XMergeBridge.jar
./URE/java/XSLTFilter.jar
./URE/java/XSLTValidate.jar
Original comment by Gount...@gmail.com
on 4 Feb 2009 at 10:45
This works for me:
-Djava.library.path="C:\Program Files\OpenOffice.org 3\URE\bin"
It is in fact similar to the one for Linux I mentioned above.
Original comment by mirko.na...@gmail.com
on 4 Feb 2009 at 7:04
My bad, it now works for me too. :-(
Original comment by Gount...@gmail.com
on 5 Feb 2009 at 10:54
[deleted comment]
Hi,
Where should I add -Djava.library.path="C:\Program Files\OpenOffice.org
3\URE\bin" ?
I have the same issue on Windows enviroment:
Caused by: java.lang.UnsatisfiedLinkError:
com.sun.star.lib.connections.pipe.PipeConnection.createJNI(Ljava/lang/String;)I
Thanks,
Katt
Original comment by Katt....@gmail.com
on 24 Sep 2009 at 11:51
Original issue reported on code.google.com by
Gount...@gmail.com
on 4 Feb 2009 at 9:36