My concrete difficulty is the following one: I develop a program for an hospital using netbeans 5.5 and when I execute it from there it me works perfectly, but when I construct a .jar and execute it, it is as if it was not finding the routes of
classpath who when it is going to initiate does not find the images that I place to the buttons , to solve this problem initially uses a program that is called launch4j that serves to create .exe native of windows from a .jar across this program if it assumes the route it creates the exe And I list everything the perfect one if it finds the route of the images ... but it turns out that for motives of stability I am going to pass the machine to linux already mount everything (database postsandstone and jdk 1.5.0) but I started to having the same problem ... when I execute from netbeans everything it works well, but when I compile and execute the .jar nothing it does not find the route where I have the icons. And the worst thing is that here I cannot create .exe in windows, I believe that my problem is with the classpath but not solving it ....

If you can help me I will appreciate that