(Java runtime / compiler execute difference) I have made a little Java program (NetBeans). When I RUN the builded RUNTIME version (myprogram.jar) on a Windows 7 (32bit, 3Ghz) computer, so not inside the NetBeans environment, it works but a part of the program doesn't work at all. (some selection to open a new Dialog, it doesn't open the new Dialog). Don't understand how this is possible, any ideas ?
I solved the problem, it was a bug (assignment of variables from different kinds). Strange thing was that it works inside netbeans, but not as a runtime. Some bug checking would be nice, who can advise an option or tool for this (netbeans) ?
Interesting. It might be worth-while posting a sample so someone could figure out why it worked in NetBeans and not outside. Bug checking is difficult, you could try FindBugs - it helps you locate many of those hard-to-spot bugs. There is a NetBeans plugin, but I prefer running it from the command-line though. Get more information from http://findbugs.sourceforge.net/