Hi Clemens, As far as I know, JNI is totally geared towards shared libraries. However, with GCJ, you can statically link using CNI, which is explained a bit in the FAQ: http://gcc.gnu.org/java/faq.html In my opinion, CNI is less cumbersome and more natural than JNI. This works with mingw32 because libgcj uses it too. -- Mohan http://www.thisiscool.com/ http://www.animalsong.org/