Dovresti modificare il classpath in modo da "vedere" il tuo jar e modificare il java.library.path per vedere le dll/.so