Companion Products for IntelliJ® IDEA

IntelliJ IDEA Companions Frequently-asked Questions Info for Software Vendors

JNIWrapper: Making native code integration a breeze

Start Demo

ComfyJ
Run the Demo
Download size:1Mb

JNIWrapper is a software development kit enabling you to work with native code from JavaTM programs without using JNI. With JNIWrapper, there is no need for you to create native libraries to call a function of the operating system API or a function from a library. You write code using Java only, and JNIWrapper does the rest. Whether it is Windows, Linux or Mac OS X, you can exploit the power of JNIWrapper on any of these platforms.

Features

JNIWrapper makes your work with native code much easier through the following features:

  • Ability to invoke any function with any parameters from a native code library.
  • Support for both stdcall and cdecl calling conventions.
  • Support for many data types, including structures, unions and pointers.
  • Special tuning for operations with large amounts of complex native-side data.
  • Extensible architecture allowing implementation of new data types and customization of the existing ones.
  • Support for thread-safe, truly concurrent function invocation.
  • Customizable native library searching mechanism.
  • Completely automated resource management.
  • Automated conversion of native function errors to Java exceptions.
  • Code generation for custom C types, such as structures, unions, callbacks, etc.

WinPack for JNIWrapper

JNIWrapper comes with WinPack, a free library that provides a surefire way to enhance your Java programs with Microsoft Windows platform-specific functionality. For example, you can implement native Open/Save File dialogs, create custom-shaped windows, display tray icons- just anything to make your Java software look and behave like a native Win32 citizen.

Feel the pleasure of writing your code in Java only!

Comments? Write to

© 2000-2009 JetBrains. All rights reserved.