Moving juh.jar jurt.jar ridl.jar unoil.jar to a custom dir

Issues with installing under all Linux Distributions

Moving juh.jar jurt.jar ridl.jar unoil.jar to a custom dir

Postby cadabam » Wed Feb 20, 2013 8:58 pm

I am trying to copy juh.jar, jurt.jar, ridl.jar and unoil.jar into a custom lib directory and use these in my classpath ( compile and runtime ). The reason being, the code will be built on a build system which will not have openoffice installed so i can not have the jars referenced form the install directories.

I get a the following exception
Code: Select all   Expand viewCollapse view
Exception in thread "main" java.lang.UnsatisfiedLinkError:;)I
[Dynamic-linking native method java.lang.Throwable.getStackTraceDepth ... JNI]
[Dynamic-linking native method java.lang.Throwable.getStackTraceElement ... JNI]
   at Method)

Seems like since the jars are looking for some file at a relative path and since i moved my jars its not able to find.

I found a similar post viewtopic.php?f=20&t=34019 and it says about adding path of to LD_LIBRARY_PATH. But again this file is an artifact of openoffice install.

Note that the host on with this application runs will have openoffice installed but the build host will not. Is there a different way to added the jars to classpath ?


Please don't double-post the same question in different areas of the forum. I have removed your other identical thread. See: The Survival guide (TheGurkha, Moderator)
OpenOffice 3.2 on RedHat Linux 5
Posts: 2
Joined: Wed Feb 20, 2013 8:33 pm

Return to Linux

Who is online

Users browsing this forum: No registered users and 2 guests