linux+eclipse+sqlite

1. look for javas installed:
sudo update-alternatives --config java

choosing the standard java 1.5 as default solved the class version problem.

2. install java sqlite on linux
have to compile sqlite from source! otherwise can't configure javasqlite

3. link error: can't find sqlite_jni in java.library.path
copy the libsqlite_jni.so to one of the java.library.path showed in Eclipse->Help->About Eclipse SDK->Configuration Details.

One problem left: junit test with Chinese characters can't pass, should be encoding problem. UTF-8 in ubuntu, GBK in windows(can pass).

作者: Goando   发布时间: 2008-01-29

Good!....

作者: majch   发布时间: 2010-09-20