java - jpod library not working outside eclipse -


if run project eclipse - it's ok. if run project runnable jar exception thrown:

.exception in thread "main" java.lang.exceptionininitializererror         @ de.intarsys.pdf.platform.cwt.font.freetype.freetypefontfactory.getlib rary(unknown source)         @ de.intarsys.pdf.platform.cwt.font.freetype.freetypefontfactory.create platformfont(unknown source)         @ de.intarsys.pdf.platform.cwt.rendering.csplatformdevice.textsetfont(u nknown source)         @ de.intarsys.pdf.content.csdevicebasedinterpreter.render_tf(unknown urce)         @ de.intarsys.pdf.content.csinterpreter.process(unknown source)         @ de.intarsys.pdf.content.csinterpreter.process(unknown source)         @ de.intarsys.pdf.content.csdevicebasedinterpreter.process(unknown sour ce)         @ renderdoc.renderpage(renderdoc.java:75)         @ renderdoc.renderpages(renderdoc.java:97)         @ renderdoc.run(renderdoc.java:139)         @ renderdoc.main(renderdoc.java:48) caused by: java.lang.nullpointerexception: no native interface available         @ de.intarsys.nativec.api.nativeinterface.set(unknown source)         @ de.intarsys.nativec.api.nativeinterface.get(unknown source)         @ de.intarsys.cwt.freetype.nativec._ftni.init(unknown source)         @ de.intarsys.cwt.freetype.nativec._ftni.<init>(unknown source)         @ de.intarsys.cwt.freetype.freetype.<clinit>(unknown source)         ... 11 more 

my system windows7 64 bit, java 8 64 bit. think problem, freetype.dll not seen outside eclipse. found inside jar (jpod dependencies). how can correctly include dll in packaging jar, , why works eclipse?

this question may in case still has problem ... freetype dll automatically extracted jar file temp folder , loaded there. message means jna bridge cannot initialized. that's problem classpath. need jna.jar , other jpod dependencies in classpath.


Comments

Popular posts from this blog

how to proxy from https to http with lighttpd -

android - Automated my builds -

python - Flask migration error -