---
title: Configuring JVM crash log in Java startup
description: Enable or disable the Java Virtual Machine (JVM) crash log.
component: pingaccess
version: 9.0
page_id: pingaccess:reference_guides:pa_configuring_jvm_crash_log_in_java_startup
canonical_url: https://docs.pingidentity.com/pingaccess/9.0/reference_guides/pa_configuring_jvm_crash_log_in_java_startup.html
revdate: January 12, 2024
section_ids:
  about-this-task: About this task
  steps: Steps
  choose-from: Choose from:
---

# Configuring JVM crash log in Java startup

Enable or disable the Java Virtual Machine (JVM) crash log.

## About this task

The Java Virtual Machine (JVM) *(tooltip: \<div class="paragraph">
\<p>A virtual machine that allows a computer to run Java programs and programs that are compiled to Java bytecode.\</p>
\</div>)* crash log is enabled by default. On Windows, the `run.bat` file specifies the JVM crash log location, and on Linux, the `run.sh` file specifies the JVM crash log location.

## Steps

* Edit the `<PA_HOME>/bin/run.bat` file on Windows, or the `<PA_HOME>/bin/run.sh` file on Linux.

  ### Choose from:

  * To disable JVM crash log reporting, comment out the line that specifies the JVM crash log location. For example:

    ```
    #ERROR_FILE="-XX:ErrorFile=$PA_HOME/log/java_error%p.log"
    ```

  * To enable JVM crash log reporting, remove the comment tag and make the line active. For example:

    ```
    ERROR_FILE="-XX:ErrorFile=$PA_HOME/log/java_error%p.log"
    ```
