HawtJNI 1.17

Making JNI easy and fast.

HawtJNI is a code generator that produces the JNI code needed to implement java native methods. It is based on the jnigen code generator that is part of the SWT Tools project which is used to generate all the JNI code which powers the eclipse platform.

Features

Introduction

There are many open source JNI code generators available, but if your performance sensitive, the code generator used by the eclipse SWT project is by far the best option. The biggest problem is that it was not developed to be reused by other projects. It was tightly coupled to producing the SWT JNI libraries and it could only be run within the eclipse platform.

HawtJNI has taken that code generator and made it easier to use and accessible to more projects.

Getting started

For more information, checkout the developer guide