When I run \"clean and build\" the .jar file that is being created only runs if the lib folder is at the same folder of the .jar file.
.jar
lib
Copy that jar file to:
C:\Program Files\Java\jdk\jre\lib\ext
and
C:\Program Files\Java\jre\lib\ext
You should be able to use it in Netbeans and in your manual imports, just like standard imports.