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 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.