I am using zabbix for monitoring java base application server and want to enable jmx monitoring. in order to jmx monitoring will need to configure java gateway on server and agent I have added java gateway on zabbix server, but we facing problem when going to enable java gateway on application server. All application using JRE and zabbix java gateway required javac and jar with is normally come with JDK. My question is how can we define separate JAVA_HOME variable property to use JDK in zabbix java gateway, because we dont want to effect on existing JRE property.
Thanks