JNI application wanted for TYA testing

1998-11-01 Thread Albrecht Kleine

Hi,

I have rewritten TYA's native code invocation part,
mostly related to newer JNI interface.

For testing purposes I am searching for some
``real world'' applications using JNI compiled 
under Linux OS.

I am pleased if you give me some URL hints (http,ftp) 
to such programs out there on the net. Most appreciated 
are GPL programs, but also any other free-to-copy 
demo stuff etc.

Cheers,
Albrecht



Re: Which version of linux on which is JDK compiled?

1998-11-01 Thread Albrecht Kleine

> As the linux patch to JDK shows us, linux JDK
> distinguishes whether the platform supports signal
> handler with three arguments or only one argument, with
> the macro SA_SIGINFO.

> JIT compilers want to utilize second and third arguments
> of signal handler for checking access to null and
> dividing by zero.
> 
> Kazuyuki SHUDOHappy Hacking!

agree for 100%

Cheers
Albrecht



Re: Which version of linux on which is JDK compiled?

1998-11-01 Thread SHUDOH Kazuyuki

[EMAIL PROTECTED]("Michael Sinz") wrote:

> >What platform on which does binary distribution of JDK
> >for linux compiled? Which version of linux kernel?

> On x86 we use the production kernels since most users will
> be using such kernels.  Other platforms may use other
> kernels.

On other processors, e.g. Alpha, PowerPC and SPARC,
what version of kernel is used generally?
What platform on which does binary distribution compiled?

Kazuyuki SHUDO  Happy Hacking!
  Muraoka Lab., Grad. School of Sci. & Eng., Waseda Univ.



HIGH TECH MACHINES FOR SALE - CNC WERKZEUGMASCHINEN ZU VERKAUFEN

1998-11-01 Thread zheng89

   E.M.T.I. SRL
 
 VIA STIATICO N. 2/3
 40050 ARGELATO (BO) - ITALY

 TEL. 0039-51-897991/897405 FAX. 0039-51-89334
  E-MAIL : [EMAIL PROTECTED]


Visit us on http:\\emti.hypermart.net

The largest stock of second hand CNC machinery in Europe.
-MORI SEIKI-MAZAK-OKUMA-AMADA-CITIZEN-STAR-MIYANO-
-PFAUTER PA 1501-LIDKOPING-KOEPFER-DIXI-SIP GENEVOISE

NOW AVAILABLE IN OUR STOCK :


AMADA'S
- 6531, Turret punch AMADA PEGA 244
- 6532, Turret punch AMADA PEGA 344 Q
- 6533, Turret punch AMADA PEGA 344

CITIZEN'S
- 5610, Lathe CITIZEN CINCOM F-16
- 5909, Lathe CITIZEN G-16, FANUC 2T
- 5979, Lathe CITIZEN CINCOM SL 1 + loader SL -1 , FANUC 2T
- 6046, Lathe CITIZEN F 12
- 6073, Lathe CITIZEN F 16
- 6541, Lathe CITIZEN CINCOM E-32, FANUC 6T

HITACHI SEIKI'S
- 6548, Lathe HITACHI SEIKI HT 20, serie 21702
- 6549, Lathe HITACHI SEIKI HT 20, serie 20462

IKEGAI'S
- 5805, Lathe IKEGAI FZ-10, FANUC 10T
- 5806, Lathe IKEGAI FZ-10, FANUC 10T
- 6035, Lathe IKEGAI FX-25N, MELDAS L1
- 6045, Lathe IKEGAI FX20N, with robot
- 6172, Lathe IKEGAI AX25N
- 6457, Lathe IKEGAI AX 25 N

INDEX'S
- 5539, Lathe CNC INDEX G 65/250
- 5540, Lathe CNC INDEX G 30/150 NC
- 6555, Lathe INDEX GS 30, S/N 09199, CNC C200

MAZAK'S :
- 5790, Machining center MAZAK CNC VQC 20/50B 2PA, MAZATROL M1, 2 APC
- 5793, Machining center MAZAK VQC 20/50A, MAZATROL M1, 15 ATC
- 5826, Machining center MAZAK POWERCENTER V10 ER V10-N, S/N 54418
- 5827, Machining center MAZAK V-15NB, MAZATROL CAM M2
- 6505, Machining center MAZAK H-10, S/N 43323
- 6506, Machining center MAZAK H-10, S/N 43324
- 6576, Machining center MAZAK MAZATECH H 500/40
- 5945, Lathe CNC MAZAK QT-8G EIA-T, LOADER
- 5998, Lathe CNC MAZAK QT-20N, MAZATROL T-1
- 6024, Lathe CNC MAZAK QT-10NC
- 6293, Lathe CNC MAZAK CHERATECH T25, MAZATROL CAM T3
- 6458, Lathe CNC MAZAK POWER MASTER, FANUC 20
- 6459, Lathe CNC MAZAK POWER MASTER, FANUC 20
- 6460, Lathe CNC MAZAK POWER MASTER FANUC 20
JUST ARRIVED : 
6597, MAZAK QUICK TURN 20, MAZATROL T-PLUS (AS NEW) 12-1996 sold. 10-1997

MITSUI SEIKI'S
- 6412, Machining center MITSUI SEIKI HR4
- 6413, Machining center MITSUI SEIKI HR5

MIYANO'S
- 6042, Machining center MIYANO V1-25, 2 APC , 30 ATC
- 5912, Lathe MIYANO BNC 12, FANUC 10T
- 6579, Lathe MIYANO LD - 41, FANUC 0TT

MORI SEIKI'S
- 6174, Machining center CNC MORI SEIKI MV 40
- 6292, Machining center CNC MORI SEIKI MH - 63
- 6418, Machining center CNC MORI SEIKI MV-40A, S/N 2975, FANUC MF-M4
- 6422, Machining center CNC MORI SEIKI MV40-40M, MFG 4215
- 5811, Lathe CNC MORI SEIKI L 100V ROBOT, FANUC 0
- 5812, Lathe CNC MORI SEIKI L 100V ROBOT, FANUC 0
- 5944, Lathe CNC MORI SEIKI AL-2, F10-T
- 6589, Lathe CNC MORI SEIKI CL 20A
JUST ARRIVED :
- 6593, Lathe CNC MORI SEIKI TL5B 1000, FANUC 10 T
- 6594, Lathe CNC MORI SEIKI SL 25 B 500, AS NEW !
- 6595, Lathe CNC MORI SEIKI AL 22 B, FANUC OT

ON ARRIVAL : 
MORI SEIKI MH 40, 12 APC, 400 X 400, FANUC 11M
MORI SEIKI MH 80, 117 ATC
MORI SEIKI M 300A, S/N 0694, ATC 82, 16 APC

MURATA'S
- 5779, Lathe MURATA MSC12, FANUC 6T
- 6108, Lathe MURATA MC-7 with saw TSUNE SEIKI CK3
- 6285, Turret punch MURATA L-10 HYBRD AGE HL 700

NAKAMURA'S
- 6086, Machining center NAKAMURA TOME ME-2A, F-O MATE M
- 6578, Lathe NAKAMURA TMC -4M, FANUC 6T
- 6590, Lathe NAKAMURA TMC-4LX

NOMURA'S
- 5942, Lathe NOMURA NN 30-T
- 6417, Lathe NOMURA NN 12K, with loader MELDAS L-O, S/N 29088403

OKUMA'S
- 5153, Machining center OKUMA CNC DC, with accessories, type DCNG
- 5987, Machining center OKUMA MC-6H, S/N 0176, OSP 3000 CRT.
- 5947, Lathe OKUMA LC 10, 2 ST, S/N 1245, OSP 5000
- 6038, Lathe OKUMA LC 20, S/N 0923, OSP 3000
- 6089, Lathe OKUMA LC 30, S/N 0515, OSP 3000
- 6112, Lathe OKUMA LCC 15, S/N 0024, OSP 500 L-G
- 6128, Lathe OKUMA LC 20, S/N 0066, OSP 3000
- 6230, Lathe OKUMA & HOVA ACT, S/N 08027, OSP 3000. 2 SP
- 6251, Lathe OKUMA LC 20, S/N 2615, OSP 5000
- 6416, Lathe OKUMA LH35N X 1500, S/N 1654
JUST ARRIVED :
- 6592, Lathe CNC OKUMA LR 15, S/N 0448
- 6596, Lathe CNC OKUMA LC - 40, OSP 3000 CRT

ON ARRIVAL : 
 OKUMA LC - 40, 2 SC, OSP 5000 LG

OLIVETTI'S
- 4613, Machining center OLIVETTI AUCTOR
- 6018, Machining center OLIVETTI AUCTOR 3, CNC IBM PC
- 6341, Machining center OLIVETTI AUCTOR CNC

ROKU ROKU'S
- 3081, Machining center ROKU ROKU
- 3082, Machining center ROKU ROKU
- 6095, Machining center ROKU ROKU VERTIMAC VF11 APC

STAR'S
- 5911, Lathe STAR VNC-12, FANUC 3T
- 5946, Lathe STAR SNC 15DX + loader
- 5981, Lathe STAR JNC 10 + loader, YASNAC LX-1
- 5982, Lathe STAR JNC 16 + loader YASNAC LX-1
- 5991, Lathe STAR KJR 16
- 6069, Lathe STAR VNC 32
- 6082, Lathe STAR JNC - 16
- 6104, Lathe STAR VNC 12
- 6105, Lathe STAR VNC 32

TAKISAWA'S
- 5916, Lathe TAKISAWA TC-2M II, FANUC 0T
- 6493, Lathe TAKISAWA TS 25

TRAUB'S
- 5881, Lathe TRAUB TNS 42 + loader
- 5999, Lathe TRAUB TNS 60

VDF'S
- 6228, Lathe VDF BOEHRINGER
- 6369, Lathe VDF PNE 480 F
- 6370, 

HIGH TECH MACHINES FOR SALE - CNC WERKZEUGMASCHINEN ZU VERKAUFEN

1998-11-01 Thread zheng89

   E.M.T.I. SRL
 
 VIA STIATICO N. 2/3
 40050 ARGELATO (BO) - ITALY

 TEL. 0039-51-897991/897405 FAX. 0039-51-89334
  E-MAIL : [EMAIL PROTECTED]


Visit us on http:\\emti.hypermart.net

The largest stock of second hand CNC machinery in Europe.
-MORI SEIKI-MAZAK-OKUMA-AMADA-CITIZEN-STAR-MIYANO-
-PFAUTER PA 1501-LIDKOPING-KOEPFER-DIXI-SIP GENEVOISE

NOW AVAILABLE IN OUR STOCK :


AMADA'S
- 6531, Turret punch AMADA PEGA 244
- 6532, Turret punch AMADA PEGA 344 Q
- 6533, Turret punch AMADA PEGA 344

CITIZEN'S
- 5610, Lathe CITIZEN CINCOM F-16
- 5909, Lathe CITIZEN G-16, FANUC 2T
- 5979, Lathe CITIZEN CINCOM SL 1 + loader SL -1 , FANUC 2T
- 6046, Lathe CITIZEN F 12
- 6073, Lathe CITIZEN F 16
- 6541, Lathe CITIZEN CINCOM E-32, FANUC 6T

HITACHI SEIKI'S
- 6548, Lathe HITACHI SEIKI HT 20, serie 21702
- 6549, Lathe HITACHI SEIKI HT 20, serie 20462

IKEGAI'S
- 5805, Lathe IKEGAI FZ-10, FANUC 10T
- 5806, Lathe IKEGAI FZ-10, FANUC 10T
- 6035, Lathe IKEGAI FX-25N, MELDAS L1
- 6045, Lathe IKEGAI FX20N, with robot
- 6172, Lathe IKEGAI AX25N
- 6457, Lathe IKEGAI AX 25 N

INDEX'S
- 5539, Lathe CNC INDEX G 65/250
- 5540, Lathe CNC INDEX G 30/150 NC
- 6555, Lathe INDEX GS 30, S/N 09199, CNC C200

MAZAK'S :
- 5790, Machining center MAZAK CNC VQC 20/50B 2PA, MAZATROL M1, 2 APC
- 5793, Machining center MAZAK VQC 20/50A, MAZATROL M1, 15 ATC
- 5826, Machining center MAZAK POWERCENTER V10 ER V10-N, S/N 54418
- 5827, Machining center MAZAK V-15NB, MAZATROL CAM M2
- 6505, Machining center MAZAK H-10, S/N 43323
- 6506, Machining center MAZAK H-10, S/N 43324
- 6576, Machining center MAZAK MAZATECH H 500/40
- 5945, Lathe CNC MAZAK QT-8G EIA-T, LOADER
- 5998, Lathe CNC MAZAK QT-20N, MAZATROL T-1
- 6024, Lathe CNC MAZAK QT-10NC
- 6293, Lathe CNC MAZAK CHERATECH T25, MAZATROL CAM T3
- 6458, Lathe CNC MAZAK POWER MASTER, FANUC 20
- 6459, Lathe CNC MAZAK POWER MASTER, FANUC 20
- 6460, Lathe CNC MAZAK POWER MASTER FANUC 20
JUST ARRIVED : 
6597, MAZAK QUICK TURN 20, MAZATROL T-PLUS (AS NEW) 12-1996 sold. 10-1997

MITSUI SEIKI'S
- 6412, Machining center MITSUI SEIKI HR4
- 6413, Machining center MITSUI SEIKI HR5

MIYANO'S
- 6042, Machining center MIYANO V1-25, 2 APC , 30 ATC
- 5912, Lathe MIYANO BNC 12, FANUC 10T
- 6579, Lathe MIYANO LD - 41, FANUC 0TT

MORI SEIKI'S
- 6174, Machining center CNC MORI SEIKI MV 40
- 6292, Machining center CNC MORI SEIKI MH - 63
- 6418, Machining center CNC MORI SEIKI MV-40A, S/N 2975, FANUC MF-M4
- 6422, Machining center CNC MORI SEIKI MV40-40M, MFG 4215
- 5811, Lathe CNC MORI SEIKI L 100V ROBOT, FANUC 0
- 5812, Lathe CNC MORI SEIKI L 100V ROBOT, FANUC 0
- 5944, Lathe CNC MORI SEIKI AL-2, F10-T
- 6589, Lathe CNC MORI SEIKI CL 20A
JUST ARRIVED :
- 6593, Lathe CNC MORI SEIKI TL5B 1000, FANUC 10 T
- 6594, Lathe CNC MORI SEIKI SL 25 B 500, AS NEW !
- 6595, Lathe CNC MORI SEIKI AL 22 B, FANUC OT

ON ARRIVAL : 
MORI SEIKI MH 40, 12 APC, 400 X 400, FANUC 11M
MORI SEIKI MH 80, 117 ATC
MORI SEIKI M 300A, S/N 0694, ATC 82, 16 APC

MURATA'S
- 5779, Lathe MURATA MSC12, FANUC 6T
- 6108, Lathe MURATA MC-7 with saw TSUNE SEIKI CK3
- 6285, Turret punch MURATA L-10 HYBRD AGE HL 700

NAKAMURA'S
- 6086, Machining center NAKAMURA TOME ME-2A, F-O MATE M
- 6578, Lathe NAKAMURA TMC -4M, FANUC 6T
- 6590, Lathe NAKAMURA TMC-4LX

NOMURA'S
- 5942, Lathe NOMURA NN 30-T
- 6417, Lathe NOMURA NN 12K, with loader MELDAS L-O, S/N 29088403

OKUMA'S
- 5153, Machining center OKUMA CNC DC, with accessories, type DCNG
- 5987, Machining center OKUMA MC-6H, S/N 0176, OSP 3000 CRT.
- 5947, Lathe OKUMA LC 10, 2 ST, S/N 1245, OSP 5000
- 6038, Lathe OKUMA LC 20, S/N 0923, OSP 3000
- 6089, Lathe OKUMA LC 30, S/N 0515, OSP 3000
- 6112, Lathe OKUMA LCC 15, S/N 0024, OSP 500 L-G
- 6128, Lathe OKUMA LC 20, S/N 0066, OSP 3000
- 6230, Lathe OKUMA & HOVA ACT, S/N 08027, OSP 3000. 2 SP
- 6251, Lathe OKUMA LC 20, S/N 2615, OSP 5000
- 6416, Lathe OKUMA LH35N X 1500, S/N 1654
JUST ARRIVED :
- 6592, Lathe CNC OKUMA LR 15, S/N 0448
- 6596, Lathe CNC OKUMA LC - 40, OSP 3000 CRT

ON ARRIVAL : 
 OKUMA LC - 40, 2 SC, OSP 5000 LG

OLIVETTI'S
- 4613, Machining center OLIVETTI AUCTOR
- 6018, Machining center OLIVETTI AUCTOR 3, CNC IBM PC
- 6341, Machining center OLIVETTI AUCTOR CNC

ROKU ROKU'S
- 3081, Machining center ROKU ROKU
- 3082, Machining center ROKU ROKU
- 6095, Machining center ROKU ROKU VERTIMAC VF11 APC

STAR'S
- 5911, Lathe STAR VNC-12, FANUC 3T
- 5946, Lathe STAR SNC 15DX + loader
- 5981, Lathe STAR JNC 10 + loader, YASNAC LX-1
- 5982, Lathe STAR JNC 16 + loader YASNAC LX-1
- 5991, Lathe STAR KJR 16
- 6069, Lathe STAR VNC 32
- 6082, Lathe STAR JNC - 16
- 6104, Lathe STAR VNC 12
- 6105, Lathe STAR VNC 32

TAKISAWA'S
- 5916, Lathe TAKISAWA TC-2M II, FANUC 0T
- 6493, Lathe TAKISAWA TS 25

TRAUB'S
- 5881, Lathe TRAUB TNS 42 + loader
- 5999, Lathe TRAUB TNS 60

VDF'S
- 6228, Lathe VDF BOEHRINGER
- 6369, Lathe VDF PNE 480 F
- 6370, 

JNI trouble with JNI_CreateJavaVM

1998-11-01 Thread Andrew Burgess

I've been using the Blackdown JDK sucessfully for many weeks now.
I recently tried to invoke a java vm from an existing C application
using the JNI_CreateJavaVM call. It seems that simply linking
with libjava_g.so (where JNI_CreateJavaVM is defined) breaks calls
to open(). Here is a small example. The code calling JNI_CreateJavaVM
hadn't been called yet in my real app and isn't necessary to show
the problem. I checked using nm and libjava_g.so does define open().

The program works if you use:
   cc jtest.c -o jtest -g && jtest
It fails with a segv at the first statement in __errno_location() if you use:
   cc jtest.c -o jtest /src/java/jdk_linux/lib/linux/green_threads/libjava_g.so -g && 
jtest

This is jdk-1.1.6-v5-glibc-x86

I tried linking with -L/src/java/jdk_linux/lib/linux/green_threads -lsysresource_g 
-lmath -lnet -lmmedia -lagent_g and even
/src/java/jdk_linux/lib/linux/green_threads/linuxlibs/libc.so.6 thinking there 
was something linking from my system libc that should've come from a jdk lib but 
no joy.


/* jtest.c -- test interface to JVM */

#include 
#include 
#include 

main(int argc, char *argv[]) {
int f = open("foo", O_CREAT | O_TRUNC, 0666);
printf("OK\n");
}


Under gdb:

tetra:zclisp > gdb jtest
GDB is free software and you are welcome to distribute copies of it
 under certain conditions; type "show copying" to see the conditions.
There is absolutely no warranty for GDB; type "show warranty" for details.
GDB 4.16 (i386-redhat-linux), Copyright 1996 Free Software Foundation, Inc...
(gdb) list
1   /* jtest.c -- test interface to JVM */
2
3   #include 
4   #include 
5   #include 
6
7   main(int argc, char *argv[]) {
8   int f = open("foo", O_CREAT | O_TRUNC, 0666);
9   printf("OK\n");
10  }
(gdb) b main
Breakpoint 1 at 0x80485aa: file jtest.c, line 8.
(gdb) run
Starting program: /p/be/builds/zclisp/jtest 

Breakpoint 1, main (argc=1, argv=0xb364) at jtest.c:8
8   int f = open("foo", O_CREAT | O_TRUNC, 0666);
(gdb) s
0x4009f15f in open () at ../../../../src/genunix/java/green_threads/src/iomgr.c:272
../../../../src/genunix/java/green_threads/src/iomgr.c:272: No such file or directory.
(gdb) s
0x400ce260 in __errno_location () at ../sysdeps/generic/errno-loc.c:28
../sysdeps/generic/errno-loc.c:28: No such file or directory.
(gdb) s

Program received signal SIGSEGV, Segmentation fault.
0x0 in ?? ()
-
Thanks for any ideas
Andy
--
Andrew Burgess
[EMAIL PROTECTED]
Available for software contract work: www.scruz.net/~cichlid



Re: JNI trouble with JNI_CreateJavaVM

1998-11-01 Thread Andrew Burgess


Regarding my problem with open(), upon reading further I see in 
tutorial/native1.1/implementing/invo.html:

>The user-level Java programming language thread implementation on Solaris
>requires the Java Virtual Machine to redirect certain Solaris system calls. The
>set of redirected system calls currently includes read, readv, write, writev,
>getmsg, putmsg, poll, open, close, pipe, fcntl, dup, create, accept, recv,
>send, and so on. This may cause undesirable effects on a hosting native
>application that also depends on these system calls. 

I believe this translates to "I'm screwed". Any chance this works in 1.2?

Andrew Burgess
[EMAIL PROTECTED]
Available for software contract work: www.scruz.net/~cichlid



Re: JNI trouble with JNI_CreateJavaVM

1998-11-01 Thread Michael Sinz

On Sun, 1 Nov 1998 11:12:30 -0800, Andrew Burgess wrote:

>
>Regarding my problem with open(), upon reading further I see in 
>tutorial/native1.1/implementing/invo.html:
>
>>The user-level Java programming language thread implementation on Solaris
>>requires the Java Virtual Machine to redirect certain Solaris system calls. The
>>set of redirected system calls currently includes read, readv, write, writev,
>>getmsg, putmsg, poll, open, close, pipe, fcntl, dup, create, accept, recv,
>>send, and so on. This may cause undesirable effects on a hosting native
>>application that also depends on these system calls. 
>
>I believe this translates to "I'm screwed". Any chance this works in 1.2?

Well, the only real answer here is not to use green threads but native
threads.  Green threads require these tricks so as to be able to
do task switching while a call to a blocking I/O function is made.
Native threads do not have that problem (but may have others :-()


Michael Sinz -- Director of Research & Development, NextBus Inc.
mailto:[EMAIL PROTECTED] - http://www.nextbus.com
My place on the web ---> http://www.users.fast.net/~michael_sinz




Re: JNI trouble with JNI_CreateJavaVM

1998-11-01 Thread Juergen Kreileder

> Andrew Burgess writes:

Andrew> I've been using the Blackdown JDK sucessfully for many
Andrew> weeks now.  I recently tried to invoke a java vm from an
Andrew> existing C application using the JNI_CreateJavaVM call. It
Andrew> seems that simply linking with libjava_g.so (where
Andrew> JNI_CreateJavaVM is defined) breaks calls to open().

That's a known green threads problem (see 
http://www.blackdown.org/java-linux/docs/faq/FAQ-java-linux-5.html#ss5.3).

The green threads libjava.so overrides some system calls (open, close,
...). So you'll have to defer system calls until after the call to 
JNI_CreateJavaVM.


Juergen

-- 
Juergen Kreileder, Universitaet Dortmund, Lehrstuhl Informatik V
Baroper Strasse 301, D-44221 Dortmund, Germany
Phone: ++49 231/755-5806, Fax: ++49 231/755-5802



Re: JNI trouble with JNI_CreateJavaVM

1998-11-01 Thread Andrew Burgess

>Andrew> I've been using the Blackdown JDK sucessfully for many
>Andrew> weeks now.  I recently tried to invoke a java vm from an
>Andrew> existing C application using the JNI_CreateJavaVM call. It
>Andrew> seems that simply linking with libjava_g.so (where
>Andrew> JNI_CreateJavaVM is defined) breaks calls to open().

>That's a known green threads problem (see 
>http://www.blackdown.org/java-linux/docs/faq/FAQ-java-linux-5.html#ss5.3).

Ack. RTFM! I did read all the READMEs but forgot the FAQ.

>The green threads libjava.so overrides some system calls (open, close,
>...). So you'll have to defer system calls until after the call to 
>JNI_CreateJavaVM.

I tried this (thanks for the suggestion). This allows my app to
come up but when I try to create a second JVM it dies. Is it illegal
to create more than one jvm?



The second JNI_CreateJavaVM returns -1 and then:

Signal: Access violation

Error: "../../../../src/genunix/java/green_threads/src/synch.c", line 79: assertion 
failure

Full thread dump:
"../../../../src/genunix/java/green_threads/src/monitor_md.c", line 443: assertion 
failure

*** panic: Internal error dumping threads!
SIGABRT   6*   abort (generated by abort(3) routine)

*** panic: Internal error dumping threads!



-- 
Andrew Burgess
[EMAIL PROTECTED]
Available for software contract work: www.scruz.net/~cichlid



Re: JNI trouble with JNI_CreateJavaVM

1998-11-01 Thread Juergen Kreileder

> Andrew Burgess writes:

Andrew> Ack. RTFM! I did read all the READMEs but forgot the FAQ.

>> The green threads libjava.so overrides some system calls (open, close,
>> ...). So you'll have to defer system calls until after the call to 
>> JNI_CreateJavaVM.

Andrew> I tried this (thanks for the suggestion). This allows my
Andrew> app to come up but when I try to create a second JVM it
Andrew> dies. Is it illegal to create more than one jvm?

RTFM again ;-) From the JNI specification:

JNI_CreateJavaVM 
...
JDK 1.1 does not support creating more than one VM in a single 
process.



Juergen

-- 
Juergen Kreileder, Universitaet Dortmund, Lehrstuhl Informatik V
Baroper Strasse 301, D-44221 Dortmund, Germany
Phone: ++49 231/755-5806, Fax: ++49 231/755-5802



Subscribing

1998-11-01 Thread Sean Tompkins

Hello.
I would like to subscribe to this list, yet I can't figure out how:)
I am also interested in contributing as best I am able, so if anyone
has any information, it would be greatly appreciated. 

Thanks, 
Sean

---
Sean M. Tompkins
[EMAIL PROTECTED]
http://pookanator.dyn.ml.org
---



Sorry

1998-11-01 Thread Sean Tompkins

I should have read the FAQ first. My apologies.

---
Sean M. Tompkins
[EMAIL PROTECTED]
http://pookanator.dyn.ml.org
---