Login  Register

Re: ZipException when loading native jars

Posted by Winder on Feb 25, 2013; 9:09pm
URL: https://forum.jogamp.org/ZipException-when-loading-native-jars-tp4027387p4028376.html

I'm using the RXTX serial library which has its own native libraries, their wiki recommended using onejar. It was natural that I ran into this problem later when adding an OpenGL window to the project.

Are you willing to share your bundled fat JAR?


gouessej wrote
Winder, maybe we can find a more viable solution on the long term if you have a similar need. The JARs containing the native libraries might be modified in order to be easier to merge into a single one and GlueGen will have to be modified to load these libraries from such a fat JAR. I succeed in merging JARs with Ant, look at the task "zipgroupfileset".