Distributable java files only work in dev machine <p>I created a Java application in NetBeans. That Java application contains a GUI and some external Jars.</p> <p>In the dist folder I can see a Jar file and a folder called lib where are the jars I use in the project. If I execute the Jar file the application works as expected. If I change the name of the lib folder the application does not work (meaning that the Jar is using the correct files). But when I copy the dist folder to a different machine (with the same Java version) the application does not work as expected. The user interface is shown but the functionalities does not work (the functionalities are in the external Jars i mentioned in the beginning). Can anyone help?</p> <p>EDIT:</p> <p>I checked the class-path in the MANIFEST file and everything is ok.</p>