Bernd Kreimeier writes:
> JDK seems to fail me. The very same classpath
> that works to load the main Java class (import/javac)
> does not work when I call env->FindClass in the
> native code.
Mistake on my account. I ended up trying
"somepackage.SomeClass"
instead of
"somepackage/SomeC
Please submit a full bug report to the
http://www.blackdown.org/java-linux.html jitterbug Bug Database including
the simplest sample code that shows the problem (both java and c) and we
(the porters) would be happy to look into it for you.
The simpler the code the better.
By the way, I am not su
Bernd Kreimeier wrote:
> ... The very same classpath
> that works to load the main Java class (import/javac)
> does not work when I call env->FindClass in the
> native code. The same source works with Japhar
> (unfortunately, Japhar has other problems).
>
> The error appears in 1.1.5 and 1.1.6v3.
Bernd Kreimeier wrote:
> Not the invocation API, this time. I have finally given
> up on that one. One last thing I tried is:
> - a top level Java class, with one native method Main(),
> and a loadLibrary call
>... a native "init()" loads a couple
> of other classes used only in native code
Not the invocation API, this time. I have finally given
up on that one. One last thing I tried is:
- a top level Java class, with one native method Main(),
and a loadLibrary call
- all the legacy C code dumped into a DLL,
Main() implementation added
Instead of using the Invocati