I wrote a Java FX Tool, which connects to an .accdb database and created an executable JAR file from it which works very well. In the same folder of the JAR file, I have several JAR libraries, which I need in order to connect to my database.
Now I want to create an executable file (.exe) from the executable JAR with exe4j. To do so, in the step "Java invocation", under "Advanced Options", I added a folder including these required libraries as a "library directory".
I now run the resulting .exe and my application opens, but when I try to connect to my database (by clicking a button in my application) it doesn't work and I get this Exception:
java.lang.ClassNotFoundException: net.ucanaccess.jdbc.UcanaccessDriver
So obviously it failed to include my required libraries.
How exactly do I have to proceed in exe4j to include multiple JAR libraries besides my actual executable JAR?