title: mod_spatialite - loading this dll from resources at a runtime
body: <p>I'm trying to pack <code>mod_spatialite.dll</code> together with my JAR and load it in runtime using:</p>
  <pre><code>SELECT load_extension('mod_spatialite.dll');
  </code></pre>
  <p>This works, if I already have <code>mod_spatialite.dll</code> inside my <code>C:\Windows\System32</code> (I guess on my <code>%PATH%</code>), but if I copy this jar to the system where this file is not present I get an error (so basically me having this file in resources doesn't matter):</p>
  <pre><code>Caused by: org.sqlite.SQLiteException: [SQLITE_ERROR] SQL error or missing datab
  ase (The specified module could not be found.
  )
          at org.sqlite.core.DB.newSQLException(DB.java:1030) ~[backend.jar:0.0.1-
  SNAPSHOT]
  </code></pre>
  <p>Is it possible to have this <code>mod_spatialite.dll</code> file added to the resources folder packed to the JAR file, and from there (when JAR file is run), it loads the file and provides it to the <code>load_extension</code> command?</p>
  <p>I guess some workaround is for me to manually copy this file to some <code>%PATH%</code> accessible folder on windows, but is there some simpler solution?</p>