title: How to make a portable app (jar+sqlite) in Java?
body: <p>I made a tiny Java app (yes, tiny, 2 forms and a SQLite database) with Eclipse. It works when I run it in Eclipse.</p>
  
  <p>I'll try to export it, and to make it a portable app (and put in an usb-key), but nothing works.</p>
  
  <p>Here's my code to connect database:</p>
  
  <pre><code>DriverManager.getConnection("jdbc:sqlite:"+this.dbName);
  DatabaseSQLite ConnBDD = new DatabaseSQLite("BDD/bdd.sqlite")
  </code></pre>
  
  <p>What must I change?</p>
  
  <p>Here's my schema under Eclipse</p>
  
  <pre><code>[projects]
  src
  |-class
  lib
  |-sqlite-jdbc-3.7.2.jar
  BDD
  |-database.sqlite
  </code></pre>