When you build your project in NetBeans it creates a dist
folder in the home folder of your project, puts the JAR file for your code in that folder, and also puts the dependencies (JAR files for required components like UCanAccess, Jackcess, HSQLDB, and Apache Commons bits) into a subfolder named lib
. You need to ensure that the lib
folder gets copied to the target machine and placed in the same folder as your main JAR file. Look here for details.