Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
Java™ Troubleshooting Guide for HP-UX Systems: > Chapter 1 Diagnostic and Monitoring Tools and Options

-XX:ErrorFile

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Glossary

 » Index

The JDK 6.0 release contains a new option, -XX:ErrorFile=<errfilename>. This option can be used to replace the default filename (hs_err_pid<pid>.log) for the fatal error log.

If this option is used with the JAVA_CORE_DESTINATION environment variable, errfilename can specify an absolute path, a relative path, or a filename placed in the JAVA_CORE_DESTINATION directory. The following list explains how the combination of the errfilename with the JAVA_CORE_DESTINATION environment variable can be used to do this:

  1. If the errfilename begins with the file separator character (“/”), it specifies an absolute path. The JAVA_CORE_DESTINATION environment variable is not used for the errfilename.

  2. If the errfilename contains the file separator character (“/”), but does not begin with one, it specifies a relative path ($JAVA_CORE_DESTINATION/errfilename).

  3. If no file separator is found in errfilename, the fatal error log is placed in the JAVA_CORE_DESTINATION directory.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2009 Hewlett-Packard Development Company, L.P.