Download Help

Printable Version

Why are hs_log_pid log files placed on desktop after a Java crash?

This article applies to:
  • Platform(s): Windows 7, Windows Vista, Windows XP
  • Java version(s): 7.0, 8.0


A Java crash occurs while running an applet or application within a browser, a text (.log) file appears on the desktop. The text file name starts with hs_err_pid . The following error message appears in the file.
Error Message: An unexpected error has been detected by HotSpot Virtual Machine


There could be many reasons for the applet crash. Here is a list of some possible causes.
  • The applet or application that you were running may contain programming errors or bugs that caused Java to crash.
  • You may be running an older version of Java, which may contain bugs that can cause Java to crash.


Note: The log files on your desktop are safe to be deleted.

  • Run Verify applet to check if Java is installed correctly on your system. If you are able to run this applet, then Java is installed and configured correctly on your system. The problem may be specific to that particular applet. In that case, please contact the web site administrators or the software vendor to notify them of this issue.
  • Download and install the latest Java. The latest version may contain update or fixes to your problem.

Select Language | About Java | Support | Developers | Feedback
Privacy  | Terms of Use | Trademarks | Disclaimer