You may find some useful info here: http://java.freehep.org/freehep-nar-plugin/
Wayne On 11/7/07, Ed <[EMAIL PROTECTED]> wrote: > This may not be a maven question, however I'm wondering someone on this list > can help me. > > I'd like to deploy an executable jar file for use by our group, but avoid > having them install the dependent shared library on their linux box. > > I've created the assembly and placed the shared library in the correct > classpath. I've included the library in it's classpath in the resources > directory. The relevant contents of the jar file looks like this: > > -rw-r--r-- 2281 7-Nov-2007 09:23:06 > org/subtid/socket/UnixSocketImpl.class > -rw-r--r-- 1150 7-Nov-2007 09:23:06 > orgs/subtid/socket/UnixServerSocket.class > -rw-r--r-- 1563 7-Nov-2007 09:23:06 > org/subtid/socket/UnixSocket.class > -rw-r--r-- 9676 7-Nov-2007 09:23:06 > org/subtid/socket/libjunixsocket.so > -rw-r--r-- 1238 7-Nov-2007 09:23:06 > org/subtid/socket/UnixSocketInputStream.class > -rw-r--r-- 1275 7-Nov-2007 09:23:06 > org/subtid/socket/UnixSocketOutputStream.class > > It seems to me that this should work, but I get: > libname: libjunixsocket.so > libpath: file:/storage/workspace/stbcontrolinterface-TRUNK/target/subtid- > stbcontrolinterface-parent-1.0-SNAPSHOT-jar-with-dependencies.jar!/org/subtid/socket/libjunixsocket.so > Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: > Expecting an absolute path of the library: > file:/storage/workspace/stbcontrolinterface-TRUNK/target/subtid- > stbcontrolinterface-parent-1.0-SNAPSHOT-jar-with-dependencies.jar!/org/subtid/socket/libjunixsocket.so > > > Any help is appreciated. > > -- > Ed > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
