that Innovation API is not fully supported in Linux. Is it
true in JDK1.3?
where to the location of classpath field in JDK1.3.
vm_args.classpath = ?? In order tomake it clear, i
accompany a simple C command-line argument program. Thank you very much.
Regards soonho #include
main (int argc
?
Thank you.
With Regards
soonho
problem?
Thank you
soonho
How to set the classpath until c know where to get
prog.class. I put it in /root/jni and set the following:
options[1].optionString =
"-Djava.class.path=root/jni/Prog"; // user classes
Why still can't find Prog class?
Thanks in advance
soonho
on, I don't know how this string can be
passed to native program.
For example, i wanna to get java string s1 from
java side. My C native side have to assign jstring s1? How it can get jstring
from java? Java have to return String s1?
Thank you
soonho
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
to access java string from C by using C invokes Java (JVM),
please let me know. Any example?
Thank you very much
soonho
fromjavaImp.c
Breaklib.c
fromjava.java
./arrayofc
Thank you
soonho
program? Thank you
soonho
***
//ArrrayHandler.java
public class ArrayHandler { int
arraySiz=0;
public static void main(String[]
args) { int arraySize = 100; System.out.println("value of
arraySize is "+
te) in Java.
Everytime I detect the data is changed, I recreate jstr, then I call
CallStaticVoidMethod(env, cls, mid, args) again?
Thank you,
soonho
Hi,
compiling JNI_CreateJavaVM in Windows
Does anyone know how to compile C with JVM?It
needs Visual C? Could it compiled without Visual C?I want to compile my JVM
using cygwin.I know how to compile it in Linux platform only.
[root@localhost jvm]# gcc -D_REENTRANT -D_GNU_SOURCE
-I/usr/j
Hi,
From java tutorial, JNI compiled by
cl -I<where jni.h is> -MT invoke.c -link
<where javai.lib is>\javai.lib
I currently installed VC98 and jdk1.3, but I don't know
where to find out javai.lib
Thank you
soonho
12 matches
Mail list logo