passing argments between java and c

2000-05-19 Thread Boris
hello, I meet a question in passing argments between java and c. In my java program,I call a method in a .dll file and pass a array to it. In the .h file that generated by javah,function declaration is followling: JNIEXPORT void JNICALL Java_call_aug (JNIEnv *, jobject, jlongArray); I write the

Re: simple questions on how to start using JDK on linux

2000-05-19 Thread Ingo Rockel
Hi! It seems like you already have a JDK (Version 1.1) installed on your System (try `which java` it will tell you where). The Blackdown JDK will not run on your System, because you must have at least GLIBC2.1.2 installed, your System does not have it, that's why the javac complains about undefin

Re: passing argments between java and c

2000-05-19 Thread Harri Sunila
On Fri, 19 May 2000, Boris wrote: > hello, > I meet a question in passing argments between java and c. > In my java program,I call a method in a .dll file and pass a array to it. > In the .h file that generated by javah,function declaration is followling: This has probably nothing Linux specific

Re: [simple questions on how to start using JDK on linux]

2000-05-19 Thread James Mansell
Hi Janet, Yes, I did the same thing. I am using Redhat 6.1. I found that under /usr/bin there are java executables put there as part of the default Linux installation. This old version of java is what will be referred to if /usr/bin comes before your references to the new version of java in y

Re: passing argments between java and c

2000-05-19 Thread Rich Ibbotson
Boris, This is not really the right list for this question, since it isn't specifically about java on Linux. You might be better off sending questions like this to a more general java list. But you want to look at using the "GetLongArrayElements" and "ReleaseArrayElements" functions in your C

Re: [simple questions on how to start using JDK on linux]

2000-05-19 Thread Nathan Meyers
James Mansell wrote: > Hi Janet, > > Yes, I did the same thing. > > I am using Redhat 6.1. > > I found that under /usr/bin there are java executables put there as part of > the default Linux installation. This old version of java is what will be > referred to if /usr/bin comes before your refere