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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content