Difference between revisions of "SQLite Xerial JDBC From Source"

From CDOT Wiki
Jump to: navigation, search
(Steps)
(Windows)
Line 16: Line 16:
 
=== Steps ===
 
=== Steps ===
 
* Clone the Xerial repo, type:
 
* Clone the Xerial repo, type:
** hg clone https://sqlite-jdbc.googlecode.com/hg/ sqlite-jdbc
+
** ''hg clone https://sqlite-jdbc.googlecode.com/hg/ sqlite-jdbc''
 
* Go into repo folder, type:
 
* Go into repo folder, type:
** cd sqlite-jdbc
+
** ''cd sqlite-jdbc''
 
* Start the build, type:
 
* Start the build, type:
** make
+
** ''make''
 
* Retrieve the newly compiled and tested jar at:
 
* Retrieve the newly compiled and tested jar at:
** sqlite-jdbc/target/sqlite-jdbc-3.7.*.jar
+
** ''sqlite-jdbc/target/sqlite-jdbc-3.7.*.jar''
  
 
== Result ==
 
== Result ==

Revision as of 17:59, 19 December 2011

Windows

Setup

  • Install Cygwin from here [1], During the install include these additional libraries:
    • make
    • curl
    • unzip
    • mingw64-x86_64-gcc-core (Optional: win64 native library recompile)
  • Install Mercurial HG, available here [2]
  • Install Java SDK 1.5+, available here [3]
    • Add java/bin to PATH
    • On Command line, type java -version to check
  • Install Maven 3.0.2+, available here [4]
    • add maven/bin to PATH
    • On Command line, type mvn -version to check

Steps

  • Clone the Xerial repo, type:
  • Go into repo folder, type:
    • cd sqlite-jdbc
  • Start the build, type:
    • make
  • Retrieve the newly compiled and tested jar at:
    • sqlite-jdbc/target/sqlite-jdbc-3.7.*.jar

Result