google-code-export / sqlite4java

Automatically exported from code.google.com/p/sqlite4java
1 stars 1 forks source link

UnsatisfiedLinkError sqlite4java.library.path not set?? #28

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
sqlite4java.library.path doesn't seem to be set i had to set it to the current 
directory (".") before i could get my jar to run.

Why not have a sensible default?

This was most frustrating for me because i was working from an eclipse project 
and where it would work, but when i exported it, it didn't work.

Thanks for this project guys :)

Original issue reported on code.google.com by StephenNancekivell@gmail.com on 27 Jun 2011 at 1:09

GoogleCodeExporter commented 9 years ago
Stephen, thanks -- the default is the path where sqlite4java.jar is located. 
Did you try to put binaries in the same directory with the .jar?

Igor

Original comment by ser...@almworks.com on 27 Jun 2011 at 1:26

GoogleCodeExporter commented 9 years ago
Ohk right, yea i see that works.

I also see if i extract sqlite4java into my generated jar then put the native 
library in the same folder it works.

I was packing the sqlite4java.jar into my projects .jar where it didnt seem to 
find it anywhere.

Original comment by StephenNancekivell@gmail.com on 27 Jun 2011 at 11:53

GoogleCodeExporter commented 9 years ago

Original comment by ser...@gmail.com on 28 Jun 2011 at 9:28