I have developed an application involving internal frames and database connection. The class files are kept in the root directory while the images required as icons are placed in the 'images' folder inside the root directory, and are accessed using the getResources () method. But when I created a jar file of the application, the application wouldn't procced ahead of the main class. Hence I have to run my application through a batch file. How can I get rid of this problem ? Why is this so ? Further can I create a windows installable setup for my java applications ? If Yes How ? Please help !