> Having an issue opening up a database (using just the BaseX jar file). I
> execute
> XQuery (inside Java program) and I try specifying the path to the database
> (e.g. /home/somedirectory/basex/data/MyDB). However whenever I use the full
> path to get
> the database, it can't find it. I execute the program locally (without the
> full path) and everything works just fine!
We need more information: How did you specify the database path? Did
you assign it to DBPATH, as described in the documentation [1]? A
.basex file may simplify your life; if your setting allows it, you can
also move your database directory to your Java working directory.
Christian
[1]
http://docs.basex.org/wiki/Configuration