GCJ Compile Error SQLite JDBC
Nektarios K. Papadopoulos
npapadop@inaccessnetworks.com
Tue Sep 23 11:15:00 GMT 2008
On 2008年09月23日 13:18, Taufik Chowi wrote:
> Dear Marco,
>> Oh really?
> ok thanks a lot for the information.
> i will try to find the "build option" that used JNI to access native compiled sqlite library.
>>
I used sqlitejdbc-v044. The build option is:
make native
You get:
build/sqlitejdbc-v044-native.jar
build/Default-i686/libsqlitejdbc.so
I then used a sample class using sqlite jdbc, compiled to .class and used gcj
like this:
gcj -o myTest -findirect-dispatch -fjni --main=mypackage.myTest
sqlitejdbc-v044-native.jar mypackage/myTest.class
BTW,
gcj --version
gcj (GCC) 4.2.3 (Ubuntu 4.2.3-2ubuntu6)
Cheers
--
Nektarios K. Papadopoulos
More information about the Java
mailing list