debugging a JNI library: where do I get the JNIEnv

From: lucky (luckyroom505_at_yahoo.com)
Date: 03/31/04


Date: 31 Mar 2004 01:59:39 -0800

Hello all,

I hava a JNI library in C++ under linux. Since I hava a very nasty
bug, I would like to test the library from a simple native C++
program.

All the functions require a JNIEnv variable however, and some of them
also rely on it to convert variables etcetera.

Is it possible to create a test JNIEnv environment, while running a
C++ program?

Greetings, and thanks for all help.

LR