My Oracle Support Banner

Where Can I Find the Java HotSpot Fatal Error Log (hs_err_[pid] log)? (Doc ID 1395507.1)

Last updated on JUNE 28, 2024

Applies to:

Java SE JDK and JRE - Version 8 and later
Information in this document applies to any platform.

Goal

This document describes where you can find the Java HotSpot Fatal Error Log File and the possible reasons for not finding the file after receiving a fatal error.

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
 Current Working Directory
 Solaris
 Linux
 Windows
 Platform Independent
 Temp directory
 Solaris and GNU/Linux
 Windows
 Standard Output
 Customized filename and location
 -XX:OnError=<cmd>
 -XX:ErrorFile=<file>
 Error log file suppression
 -XX:+SuppressFatalErrorMessage
 -XX:+ShowMessageBoxOnError
 Stack Overflow
 Additional Public Information
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.