Thanks for your answer.
But i really would not do that - it limits your app to less than one platform (in case of windows even win64 is problematic)
It could work at least for Windows. Think about all the native libs from LWJGL, GAGE timer, ... One problem is to make sure to load the correct libs according to the platform.
ask yourself wether you really need this or it would be just cool to have it.
The purpose is to be able to use gaming libs that use native libs for hardware acceleration or other harware related things. I though it would be obvious.