[jsword-devel] Changing the path where bibles are looked for

Joe Walker jsword-devel@crosswire.org
Sat, 03 Apr 2004 21:02:06 +0100


import org.crosswire.jsword.book.sword.SwordBookDriver;

String[] path = new String[]
{
     "/usr/share/sword",
};

SwordBookDriver.setSwordPath(path);

If you want a config file way of doing the same thing then I could 
probably help with that too.

Joe.

Norbert Plött wrote:
> DM,
> 
> hey, now it works!
> 
> 
>>The problem the program is complaining about is that it cannot find
>>~/.jsword/mods.d which is where it is expecting to find Bibles. In
> 
> 
> Ah-ha! I was wondering how jsword would find it's way to my bible data. So 
> this is a default path from my home directory.
> So far I had my bible texts in /usr/share/sword. If I remember this correctly 
> it is because the bibletime software installs the sword modules there.
> For the time being I made a copy of the modules.
> 
> After this and fixing the bible description I was finally able to read the 
> text of Matthew 1:1. Thanks for your support!
> 
> Next question: Is there an easy way (like making an entry in a config file) to 
> change the bible search path?
> 
> Bye
> 
> 
> Norbert
> 
> _______________________________________________
> jsword-devel mailing list
> jsword-devel@crosswire.org
> http://www.crosswire.org/mailman/listinfo/jsword-devel