IoSonoPiero Active Member Licensed User Longtime User Sep 15, 2019 #1 Hello people, I'm trying to figure out how to add jaybird library to a test project I'm doing because I want to connect to a Firebird database. So, from Firebird JDBC Driver page I've downloaded "Jaybird-3.0.6-JDK_1.8.zip" file and I've decompressed it. I copied "jaybird-3.0.6.jar" file into a folder, "AdditionalLibraries", that I've configured into B4J as Additional Libraries path. But when I start B4J, I can't see anything new into "Libraries Manager". I've tried to search into forum, or on Google, but I can't find a way to enable the Firebird library. Someone can help me, please? Regards, ghale
Hello people, I'm trying to figure out how to add jaybird library to a test project I'm doing because I want to connect to a Firebird database. So, from Firebird JDBC Driver page I've downloaded "Jaybird-3.0.6-JDK_1.8.zip" file and I've decompressed it. I copied "jaybird-3.0.6.jar" file into a folder, "AdditionalLibraries", that I've configured into B4J as Additional Libraries path. But when I start B4J, I can't see anything new into "Libraries Manager". I've tried to search into forum, or on Google, but I can't find a way to enable the Firebird library. Someone can help me, please? Regards, ghale
DonManfred Expert Licensed User Longtime User Sep 15, 2019 #2 ghale said: But when I start B4J, I can't see anything new into "Libraries Manager". Click to expand... a jdbc driver jar is not expected to appear in this list. start with this tutorial https://www.b4x.com/android/forum/threads/sql-tutorial.35185/#content Add a Code: Copy #additionaljar:jaybird-3.0.6 to the project to add the dependency. Upvote 0
ghale said: But when I start B4J, I can't see anything new into "Libraries Manager". Click to expand... a jdbc driver jar is not expected to appear in this list. start with this tutorial https://www.b4x.com/android/forum/threads/sql-tutorial.35185/#content Add a Code: Copy #additionaljar:jaybird-3.0.6 to the project to add the dependency.
IoSonoPiero Active Member Licensed User Longtime User Sep 15, 2019 #3 You are right! Only thing I've not understood is how to use an external folder for jar file. Actually only putting "jaybird-3.0.6.jar" into "c:\Program Files (x86)\Anywhere Software\B4J\Libraries\" works. Upvote 0
You are right! Only thing I've not understood is how to use an external folder for jar file. Actually only putting "jaybird-3.0.6.jar" into "c:\Program Files (x86)\Anywhere Software\B4J\Libraries\" works.
DonManfred Expert Licensed User Longtime User Sep 15, 2019 #4 ghale said: Actually only putting "jaybird-3.0.6.jar" into "c:\Program Files (x86)\Anywhere Software\B4J\Libraries\" works. Click to expand... that´s a mistake to put any additional libraries or jars here. Go to IDE->Tools-Configure Paths and set a path for AdditionalLibraries. Put all additional libraries and additional jars in the folder your configured. Upvote 0
ghale said: Actually only putting "jaybird-3.0.6.jar" into "c:\Program Files (x86)\Anywhere Software\B4J\Libraries\" works. Click to expand... that´s a mistake to put any additional libraries or jars here. Go to IDE->Tools-Configure Paths and set a path for AdditionalLibraries. Put all additional libraries and additional jars in the folder your configured.
IoSonoPiero Active Member Licensed User Longtime User Sep 15, 2019 #5 DonManfred said: Go to IDE->Tools-Configure Paths and set a path for AdditionalLibraries. Put all additional libraries and additional jars in the folder your configured. Click to expand... This is awkward... Since the beginning, I put the jar file into an external folder already mapped into Tools->Configure Paths. During compilation, I got an error "Cannot find: C:\Program Files (x86)\Anywhere Software\B4J\libraries\jaybird-full-3.0.6.jar" Now, if I put that jar file into the external folder, it works. However, thank you! You solved my issue! Upvote 0
DonManfred said: Go to IDE->Tools-Configure Paths and set a path for AdditionalLibraries. Put all additional libraries and additional jars in the folder your configured. Click to expand... This is awkward... Since the beginning, I put the jar file into an external folder already mapped into Tools->Configure Paths. During compilation, I got an error "Cannot find: C:\Program Files (x86)\Anywhere Software\B4J\libraries\jaybird-full-3.0.6.jar" Now, if I put that jar file into the external folder, it works. However, thank you! You solved my issue!