where is the "lib" folder?

Monday, 23 November 2020 · 3 messages
N
Nicholas23 Nov 2020 11:57 #
Is there even a lib directory? https://unix.stackexchange.com/a/621089/101935 My understanding is that, for example, a JDBC driver can be "added" to BaseX itself. Perhaps this is incorrect. thanks, Nick
OS
Omar Siam23 Nov 2020 12:21 #
Hi,
Quoted text · Nicholas · 7 lines
Am 23.11.2020 um 10:57 schrieb Nicholas: > Is there even a lib directory? > > https://unix.stackexchange.com/a/621089/101935 > > My understanding is that, for example, a JDBC driver can be "added" to > BaseX itself. Perhaps this is incorrect.
Adding JAR libraries is a matter of setting the CLASSPATH correctly. It seems the Debian package is very minmalistic. I have to admit I never used it. The lib folder and tho lib/custom folder are obvious if you download the ZIP distribution (see https://basex.org/download/). If you only work with the (GUI) single jar file or as it seems the maven distribution here, things are more complicated if they work at all. You can look at the start scripts (probably shell scripts) and compare them to what the ZIPed versions do. Perhaps you can try the ZIP version first before searching any further. Best regards Omar Siam
N
Nicholas23 Nov 2020 14:53 #
Quoted text · Omar Siam · 31 lines
On 11/23/20 3:21 AM, Omar Siam wrote: > Hi, > > Am 23.11.2020 um 10:57 schrieb Nicholas: >> Is there even a lib directory? >> >> https://unix.stackexchange.com/a/621089/101935 >> >> My understanding is that, for example, a JDBC driver can be "added" >> to BaseX itself. Perhaps this is incorrect. > > Adding JAR libraries is a matter of setting the CLASSPATH correctly. > > It seems the Debian package is very minmalistic. I have to admit I > never used it. > > The lib folder and tho lib/custom folder are obvious if you download > the ZIP distribution (see https://basex.org/download/). > > If you only work with the (GUI) single jar file or as it seems the > maven distribution here, things are more complicated if they work at all. > > You can look at the start scripts (probably shell scripts) and compare > them to what the ZIPed versions do. > > Perhaps you can try the ZIP version first before searching any further. > > Best regards > > Omar Siam >
It would seem that the Debian/Ubuntu package just doesn't have a lib folder. I wouldn't pretend to understand why that's so, nor why the directory can't simply be added, but that's the scenario. The full download includes a lib folder. -Nick

⚡Generated with XQuery