ItsMe
02-15-2010, 02:37 PM
Hi,
I'm working on a project in Java and I want to create a file containing the whole project that can just be run. I'm currently working out of Netbeans so just using the 'Run Project' option.
I see the 'Clean and Build' option in Netbeans, however I am unable to get my project running successfully using this. I believe one of the problems is around finding required files (such as images) used in the program as they do not appear to be being copied into the JAR file when it's built. They work in Netbeans as I have a working directory set.
How should required files be placed so there is a JAR file or JAR file and dependant files ready to run?
Any help would be much appreciated.
Many thanks.
I'm working on a project in Java and I want to create a file containing the whole project that can just be run. I'm currently working out of Netbeans so just using the 'Run Project' option.
I see the 'Clean and Build' option in Netbeans, however I am unable to get my project running successfully using this. I believe one of the problems is around finding required files (such as images) used in the program as they do not appear to be being copied into the JAR file when it's built. They work in Netbeans as I have a working directory set.
How should required files be placed so there is a JAR file or JAR file and dependant files ready to run?
Any help would be much appreciated.
Many thanks.