Re: passing argments between java and c

2000-05-19 Thread Harri Sunila
ails see the JNI documentation. > > error line is a[0]=1; > > How can I pass array ?Or,if I want pass data and want them changed in c ,then > return,how can i do? > Thanks > Boris :-) Harri Harri Sunila Research assist

Re: JDK 1.2 library problem

1999-09-21 Thread Harri Sunila
hink, you'll need a glibc 2.0 version of the JDK. I suppose RH5.2 is based on glibc 2.0 not glibc 2.1. Harri Harri Sunila Research assistant Helsinki University of Technology Telecommunications Software and Multimedia Laboratory URL: http://www.tcm.hut.fi/~harri

Re: Installing Java

1999-08-25 Thread Harri Sunila
need your help. Those JDK versions are compiled for glibc version 2.0 and RH 6.0 has glibc 2.1. You should try to install JDK1.2pre-v2 for glibc 2.1 or JDK 1.1.7-v3. These both work in RH 6.0. You don't need to add any symlinks in /lib or /usr/lib. Harri Harri Sunila Research assist

Re: Weird "system" / "execv" problem ...

1999-08-19 Thread Harri Sunila
ed. Would it be possible to use java.lang.Runtime to execute the commands you need? Or do you absolutely have to execute the commands inside native methods? I think it's possible to examine the return values of the commands, if that's needed. Harri Harri Sunila Research assistan

Re: Wrapper problem

1999-08-17 Thread Harri Sunila
nt execv( const char *path, char *const argv[]);' You should give "/sbin" as the first argument of execv() and "ifconfig" as argv[0] or use execvp() instead of execv() and probably give "ifconfig" as argv[0]. As you should know, in C argv[0] is the name of the execu

Re: jmf2.0ea and jdk1.1.7

1999-08-16 Thread Harri Sunila
K 1.1.7 and Swing than with JDK 1.2pre-v2. Does your soundcard work under Linux? Harri Harri Sunila Research assistant Helsinki University of Technology Telecommunications Software and Multimedia Laboratory URL: http://www.tcm.hut.fi/~harri ---