A java program I've written is failing when a class is instantiated in some environments. I suspect it is a memory problem but would like to confirm this with some kind of stack trace. I've tried putting a try catch block around the statement where the class is instantiated but I still see nothing (the module just stops running). Is there some way I can force some error message or stack trace in this situation? This is running in a windows environment. When run from the command line, it just returns to the command line. There is no other information. There is nothing in system.out after the statement that tries to instantiate the class.