I created a Java application in NetBeans. This application has a GUI and uses some external Jars.
After doing the Clean and Build in the dist folder of NetBeans appeared a Jar (main class) and a folder called lib (which has the external Jars that I use). When running Jar (main class) that is in the dist folder everything works normally. I checked the Class-Path and everything is OK. I've even changed the name of the folder where the libs are and the program has stopped giving, which means that the Jars in the lib folder are being used instead of others.
The problem is that when copying the dist folder (which has the main class and the external Jars) to another computer (with the same version of Java installed) the program does not work.
Can anyone help me?