JNI and command-line arguments

2001-01-17 Thread soonho
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

Innovation API

2001-01-19 Thread soonho
?    Thank you.   With Regards soonho

Will JNI do this?

2001-02-06 Thread soonho
problem?   Thank you soonho

classpath

2001-02-08 Thread 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

accessing java string

2001-03-06 Thread 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

accessing java string (C invokes Java)

2001-03-14 Thread 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

shared library

2001-04-10 Thread soonho
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

Redhat 7.0 and JVM

2001-04-11 Thread soonho
./arrayofc   Thank you soonho

Accessing data field (JVM)

2001-04-22 Thread 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 "+

updating jstr

2001-05-08 Thread soonho
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

Compling Innovation API

2001-08-16 Thread 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

compling JNI

2001-09-05 Thread soonho
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