Getting error message "There is no JVM available. Please set RHQ_CLI_JAVA_HOME or RHQ_CLI_JAVA_EXE_FILE_PATH appropriately" when trying to execute JBoss ON CLI script

Solution Unverified - Updated -

Issue

  • Getting error while executing script from remote-cli
  • Error shown when trying to execute JBoss ON CLI script:
There is no JVM available.
Please set RHQ_CLI_JAVA_HOME or RHQ_CLI_JAVA_EXE_FILE_PATH appropriately.
  • What should I change to resolve error message: "There is no JVM available. Please set RHQ_CLI_JAVA_HOME or RHQ_CLI_JAVA_EXE_FILE_PATH appropriately" when trying to execute JBoss ON CLI script

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.