javac -classpath ./ SQL2C.java
javah -classpath ./ -jni SQL2C
touch SQL2C.h
gcc -O2 -Wall -I/usr/lib/j2se/1.4/include/linux -I/usr/lib/j2se/1.4/include -c SQL2C.c -o SQL2C.o -I/usr/local/java/include/ -I/usr/local/java/include/linux/
gcc -O2 -Wall -I/usr/lib/j2se/1.4/include/linux -I/usr/lib/j2se/1.4/include -shared -o libSQL2C.so SQL2C.o -I/usr/local/java/include/ -I/usr/local/java/include/linux/ -lmysqlclient_r
java -cp ./ SQL2C
151048
98064
103664
109264
98552
104152
109752
115352
101632
107232
112832
118432
99224
104824
110424
116024
99616
105216
110816
116416
99224
104824
110424
116024
98384
103984
109584
115184
99552
105152
110752
116352
100672
106272
111872
117472
102632
108232
113832
119432
102016
107616
113216
118816
102464
108064
113664
119264
100392
105992
111592
117192
98376
103976
109576
115176
99664
105264
110864
116464
102352
107952
113552
119152
97648
103248
108848
114448
98600
104200
109800
115400
98936
104536
110136
115736
99888
105488
111088
116688
98880
104480
110080
115680
98768
104368
109968
115568
98600
104200
109800
115400
99104
104704
110304
115904
98656
104256
109856
115456
97648
103248
108848
114448
99104
104704
110304
115904
99496
105096
110696
116296
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  SIGILL (0x4) at pc=0x00000000, pid=24968, tid=1283861424
#
# Java VM: Java HotSpot(TM) Client VM (Blackdown-1.4.2-03 mixed mode)
# An error report file with more information is saved as hs_err_pid24968.log
#
# If you would like to submit a bug report, please visit:
#   http://www.blackdown.org/cgi-bin/jdk
#
make: *** [all] Aborted
