Seems like I've found possible reason for crash: JNA uses JAWT_MacOSXDrawingSurfaceInfo struct, but we don't provide it. Unmodified JNA just fails to compile.
Code fragment from JNA: #elif __APPLE__ // WARNING: the view ref is not guaranteed to be stable except during // component paint (see jni_md.h) JAWT_MacOSXDrawingSurfaceInfo* mdsi = (JAWT_MacOSXDrawingSurfaceInfo*)dsi->platformInfo; if (mdsi != NULL) { handle = (unsigned long)mdsi->cocoaViewRef; if (!handle) { throwByName(env, EIllegalState, "Can't get Cocoa View"); } } else { throwByName(env, EError, "Can't get OS X platform info"); } #else JAWT_X11DrawingSurfaceInfo* xdsi = (JAWT_X11DrawingSurfaceInfo*)dsi->platformInfo; if (xdsi != NULL) { handle = xdsi->drawable; if (!handle) { throwByName(env, EIllegalState, "Can't get Drawable"); } } else { throwByName(env, EError, "Can't get X11 platform info"); } #endif -- Regards, Konstantin