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:
but i don't understand how to do this.
hope for help.
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.