java – Adding generic Lib folder to Javaproject in eclipse

I want to build a tool that is mostly DB independend, but specific to a creatain tools general DB Table structure (its basically a tool that search trough a bunch of Base64 encoded stuff on the DB)
I finished the first Version (which is still very DB specific) and am now thinking about how to make it more generic.
My biggest obstacle is the import of the database driver.
In theory I would have though it should be possible to declare a “lib” folder and on startup of the programm simple import ALL the jars in this folder.
Is this somehow possible to achive?
Worst case I would simply include a “DB-Driver.jar” file and include a readme leting people know that they need to replace this jar with whatever there DB-Driver is, but that does not sound very pretty.

Read more here: Source link