0

I have enable tracing and logging and show console enabled but the program I am using is crashing Java in a matter of minutes, is there anyway I can save the log directly to a file so when it crashes I can see what the last error was that was causing this? Also I have no access to the source code of this program.

CodeCamper
  • 6,609
  • 6
  • 44
  • 94

1 Answers1

0

Please add this in while starting java -XX:ErrorFile=filename%p.log.

RAJKUMAR NAGARETHINAM
  • 1,408
  • 1
  • 15
  • 26