.NET support for J engine via PInvoke