Hi Neil,

thanks for the hint to LWJGL. Do you know where in the repository 
https://github.com/LWJGL 
the code for jative-jar building resides?

I think it makes sense to evaluate other possibilities for us. We are often in 
the situation 
native-jars would be great. So we think about to create a seperate open source 
project with 
libs and tools to do this.

best regards
Oliver




On Tue, 15 Sep 2020, 20:29 Oliver Rettig, <oliver.ret...@orat.de[1]> wrote:




In concrete we have a java library project which is a Wrapper to a c++ native 
lib. To create a 
platform independent jar-file we want to add the native code build for several 
operating 
systems into the the jar.
 
We found that the
 
https://jogamp.org/[2] 
 
project includes great code to do this but the code is part of a big project.


Partly OT - JogAmp might not be the best starting point. Pretty sure LWJGL Core 
will do this, 
and it's much more modularized so this bit might be small enough as is. JNA 
also has some 
code that does this IIRC.


Best wishes, 


Neil




--------
[1] mailto:oliver.ret...@orat.de
[2] https://jogamp.org/

Reply via email to