#10.2. Prerequisites
Table 10.1. J2EE Prerequisites
Prerequisite | Restriction |
---|---|
Zenoss version | Zenoss version 2.2 or higher |
Zenoss Product | All Zenoss products (Core, Pro, Enterprise) |
Required ZenPacks | ZenPacks.zenoss.ZenJMX |
Other | Sun JRE Version 5.0 or higher |
#10.2.1. Sun Java Runtime Environment (JRE)
ZenJMX requires Sun JRE Version 5.0 or higher. Make sure that after you install Sun's JRE you update your PATH such that the java executable works. You can test this using the command:
$ which java /usr/java/default/bin/java
If the above returns a fully qualified path, then you have successfully installed Java.
If Java is not installed, the which will return a message similar to the following:
$ which java /usr/bin/which: no java in (/usr/local/bin:/bin:/usr/bin:/opt/zenoss/bin)
To determine which version of Java is installed, run the following command:
$ java -version java version "1.5.0_16" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_16-b06-284) Java HotSpot(TM) Client VM (build 1.5.0_16-133, mixed mode, sharing)
Warning
Sun's Java version 5 (aka 1.5) must be installed. The GNU Java does not work.
Installing ZenJMX on an appliance
ZenJMX and Sun's JRE is installed using a conary command. As root, run the following command:
conary update --resolve group-zenjmx