- JDK 1.5
- Perl
- Maven
- make
- gcc
- curl
- unzip
- git
- docker
-
Edit the
VERSION
file and set the SQLite version to use as available on https://github.com/utelle/SQLite3MultipleCiphers/releases (use base SQLite3 version not the SQLiteMC version). Update the artifact version you want to produce accordingly. -
Then, run:
$ make
Starting with version 3.34.0 native binaries are not included anymore in the source tree of the project. Instead, they are available as a zip in the release page. For each release, the CI will produce this zip containing binaries for most OS and plateforms.
- SQLite version to use should be set in the
VERSION
file - Download the corresponding zip file in the release page
- Extract the zip to the root of the project
- Check that binaries have been placed in src/main/resources/org/sqlite/native
- Build using
mvn
:mvn install
- SQLite version to use should be set in the
VERSION
file - Run
make native
- It will produce shared library files in the
target
folder
- Set the SQLite version in the
VERSION
file - Run
make native-all
(this step will use docker to cross-compile) - It will produce shared library files in the
target
folder
- Set the SQLite version in the
VERSION
file - Run
make linux-armv5
(this step will use docker to cross-compile) - It will produce th armv5 shared library file in the
target
folder
- Set the SQLite version in the
VERSION
file - Run
make native-all package test
- Get the final jar in the
target
directory.
The pure-java library is no longer supported as of version 3.7.15.https://bitbucket.org/xerial/sqlite-jdbc/issue/10/dropping-pure-java-support
-
Use Mac OS X or Linux with gcc-3.x
make purejava
-
The build will fail due to the broken regex libray, so copy the non-corrupted archive I downloaded:
$ cp archive/regex3.8a.tar.gz target/build/nestedvm-2009-08-09/upstream/downlolad/
-
then do
'make purejava'
make -fMakefile.package