5 I've just compiled javasqlite-20070823 on MacOS X. The procedure is as follows:
7 1) ./configure --with-jdk=/System/Library/Frameworks/JavaVM.framework/Home
8 2) Edit Makefile and change:
9 JNIINCLUDE = -I/System/Library/Frameworks/JavaVM.framework/Headers
11 libsqlite_jni.jnilib: native/sqlite_jni.h native/sqlite_jni.c
12 $(CC) -c $(CFLAGS) native/sqlite_jni.c -o native/sqlite_jni.o
13 $(CC) -dynamiclib -o libsqlite_jni.jnilib native/sqlite_jni.o \
14 -framework JavaVM -L/usr/local/lib -lsqlite3
16 This is Mac OS specific: libtool which is used in the Makefile produces
17 a "common" dylib which is not so simple to load under java environment.
18 /usr/local/lib is path to libsqlite3.dylib in my configuration, other
19 paths are standard for this OS.
21 Till now I've tested test, test3 and shell. All work.
23 Hope that helps and best regards,