P. Simon Tuffs - 2011-11-16

I think this is a fundamental limitation of the sun native libarary loader: it doesn't respect the URL resolvers that one-jar would like to use. The most direct solution to this is to expand your library into a temporary directory, then the native loader will be able to find it.

It might be possible to relaunch the JVM with a modified bootstrap classloader that would allow the native loader to look inside the one-jar: I have not experimented with this but am interested in the approach. I will keep this in mind when I resume work on the tool.