VMware Cloud Community
itayms
Contributor
Contributor

install hyperic rpm issue

hi,

after installing RPM in Rhel server i got a problen to run the .sh file and got this messege:

HQ_JAVA_HOME or JAVA_HOME must be set when invoking the agent


i saw this answer :


On Unix-based platforms, the order of preference when resolving the agent's JRE is:

  1. HQ_JAVA_HOME environment variable
  2. Embedded JRE
  3. JAVA_HOME

but i don't understand how to do this.

hope for help.

thanks,

Itay

0 Kudos
1 Reply
admin
Immortal
Immortal

The Hyperic Agent rpm installer does not include a bundled JRE.

You'll need to install a Java jre on the RHEL Server and define a HQ_JAVA_HOME environment variable.

The most common way to add this for all users is to set this variable in /etc/profile but consult your system administrator to be sure this is the way it should be done in your environment.

https://support.hyperic.com/display/DOC/Before+You+Start#BeforeYouStart-HQAgentJRE

0 Kudos