Menu

JNIDirect / News: Recent posts

JNIDirect Released

JNIDirect, for Mac OS X Java Development, is a library that generates native methods for Java classes at runtime, linking against user specified Mac OS X frameworks. Although this library is for Mac OS X only right now, there are plans to port this to Windows, Linux, and any other feasible platform.

Using JNIDirect, it is possible to write the following "hello world" program in Java:

public class HelloWorld {
public static void main(String[] args) {
printf("Hello world!\n\0".getBytes());
}
private static native int printf(byte[] format);
static {
jnidirect.Linker.link(HelloWorld.class);
}
}... read more

Posted by Patrick Beard 2003-03-17
MongoDB Logo MongoDB