JBoss ON rhqctl reports there is no JVM available if JAVA_HOME or RHQ_JAVA_HOME includes JVM's bin directory

Solution Verified - Updated -

Issue

  • rhqctl install --start fails with

    There is no JVM available.
    Please set RHQ_JAVA_HOME or RHQ_JAVA_EXE_FILE_PATH appropriately.
    
  • rhqctl reports There is no JVM available.

Environment

  • Red Hat JBoss Operations Network (ON) 3.2, 3.3
  • The environment variable JAVA_HOME or RHQ_JAVA_HOME have been defined using the JVM's bin directory -- For example: /usr/lib/jvm/jre-1.7.0/bin
  • Executed rhqctl to start or install the JBoss ON system or one of its components

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