Java issues with Apache 2.0 Agent 2.202 for RHEL5 Linux 64bit

Posted by Richard on Server Fault See other posts from Server Fault or by Richard
Published on 2012-06-15T20:18:22Z Indexed on 2012/06/15 21:18 UTC
Read the original article Hit count: 385

Filed under:
|
|
|

In trying to install Apache 2.0 Agent 2.202 for RHEL5 Linux 64bit, the dialogue appears as follows.

$ ./setup
Error : java is not present in path.
Please enter JAVAHOME path to pick up java:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/
Launching installer...
Attach to native process failed

$ ./setup
Error : java is not present in path.
Please enter JAVAHOME path to pick up java:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib
./setup: line 80: [: 107:: integer expression expected
./setup: line 83: [: 107:: integer expression expected
Error : Incorrect java version (1.2.2 or above is needed).
Please enter JAVAHOME path to pick up java:

On the server we have the following JREs and I've tried both.

$ sudo rpm -qa | egrep "(openjdk|icedtea)"
java-1.6.0-openjdk-1.6.0.0-1.27.1.10.8.el5_8    

$ find 2>/dev/null | grep -i '/jre/'
./usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre/bin/
...
./usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/

Any suggestions? I know I'm overlooking something. In previous searches I've only found one other posting that comes close but it has no responses (http://forum.parallels.com/showthread.php?t=76556).

© Server Fault or respective owner

Related posts about apache2

Related posts about redhat