> "soonho" == soonho <[EMAIL PROTECTED]> writes:
soonho> Did I do something wrong? I could access Java String from
soonho> C while using Java invokes C method. But When it comes to
soonho> C invokes Java - create JVM inside C code, I don't know
soonho> how to solve it.
j
Dear sir,
I want C to
invokes Java instead of Java invokes C. Iattached 3 files
here--fromjava.java, javatoc.c and error. I successfulcompiled javatoc.c by
following#gcc -D_REENTRANT -D_GNU_SOURCE -I/usr/java/jdk1.3/include
-I/usr/java/jdk1.3/include/linux -c -o javatoc.o javatoc.c# gcc -o
On Wed, 7 Mar 2001, soonho wrote:
> Hi all,
>
> I created a JVM (JNI_CreateJavaVM), then now I would like to accessing java string
>through GetStringUTFChars.
> Before I can use GetStringUTFChars, I have to FindClass and GetMethodID?
Maybe. You have to possess a pointer of ty
And the Linux connection is what?
-Original Message-
From: soonho [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 06, 2001 11:50 PM
To: java-linux
Subject: accessing java string
Hi all,
I created a JVM (JNI_CreateJavaVM), then now I would like to accessing
java string through
Hi all,
I created a JVM (JNI_CreateJavaVM), then now I
would like to accessing java string through GetStringUTFChars.
Before I can use GetStringUTFChars, I have
to FindClass and GetMethodID?
Since GetStringUTFChars(env, string, isCopy) is so
simple, doesn't involve methodID and so