I have a certain Java program that occasionally causes Ubuntu to crash. The sound gets stuck on a short loop, the screen output actually ceases (i.e. monitor can find no input and turns off) and no keyboard or mouse inputs work. I have to restart it from the physical power button. My question isn't how to fix it because I don't know what is actually happening. I would like to know what logs or logging programs I could look at to get any information on why this is happening. It would be useful information to include in a bug report to whomever it may concern.
closed as off topic by Marco Ceppi♦ Feb 1 '12 at 23:44
Questions on Ask Ubuntu are expected to relate to Ubuntu within the scope defined in the FAQ. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about closed questions here.
There are a number of Java apps that don't run perfect under the OpenJDK JVM included with Ubuntu. You may want to try installing the Sun Java JVM and see if this resolves your problem.
There are a number of system logs you can look through also, but I don't recall their locations.
Look at /var/log/messages as starting point. If java is crashing it will generate an error some thing similar as below
detailed crash logs will be named like this err_pidxxx.log, but I believe the logging will be controlled by your settings.