June 04, 2003
I downloaded digital mars a few weeks ago. I could eventually compile DLLs to work with java native interface JNI, but they would either crash my jvm or throw an exception. I attached the exception log file. The code is very simple, I declared a method that will be called from my java app.

#include <jni.h>
#include "HelloWorld.h"
#include <stdio.h>
JNIEXPORT void JNICALL
Java_HelloWorld_displayHelloWorld(JNIEnv *env, jobject obj)
{
printf("hello");
return;
}