---
title: Unexpected arguments provided to the JVM
description: If the setup script attempts to launch the java command with an invalid set of Java arguments, it might prevent the JVM from starting. By default, no special options are provided to the JVM when running setup, but this might not be the case if either the JAVA_ARGS or UNBOUNDID_JAVA_ARGS environment variable is set. If the setup tool displays an error message that indicates that the Java environment could not be started with the provided set of arguments, then invoke the following command before trying to re-run setup:
component: pingauthorize
version: 10.1
page_id: pingauthorize:troubleshooting_pingauthorize_server:paz_unexpected_arguments_jvm
canonical_url: https://docs.pingidentity.com/pingauthorize/10.1/troubleshooting_pingauthorize_server/paz_unexpected_arguments_jvm.html
revdate: August 22, 2023
---

# Unexpected arguments provided to the JVM

If the `setup` script attempts to launch the `java` command with an invalid set of Java arguments, it might prevent the JVM from starting. By default, no special options are provided to the JVM when running `setup`, but this might not be the case if either the *JAVA\_ARGS* or *UNBOUNDID\_JAVA\_ARGS* environment variable is set. If the `setup` tool displays an error message that indicates that the Java environment could not be started with the provided set of arguments, then invoke the following command before trying to re-run `setup`:

```
unset JAVA_ARGS UNBOUNDID_JAVA_ARGS
```
