I downloaded the latest JAVA version today
(java-1.7.0-openjdk-1.7.0.101-2.6.6.1.el6_7.x86_64) and tried to install
Trafodion using the trafodion_install script.
The following error was reported by the installer:
***ERROR: Your existing JAVA_HOME on <node> is less than 1.7.0_65
***ERROR: Your Java Version on <node> = java version "1.7.0_101"
OpenJDK Runtime Environment (rhel-2.6.6.1.el6_7-x86_64 u101-b00)
OpenJDK 64-Bit Server VM (build 24.95-b01, mixed mode)
***ERROR: Required java version on <node> should be greater than 1.7.0_65
It seems the check in traf_config_check is only looking at two bytes for
the check and now the java version has gone to three bytes.
To work around, I changed the following in traf_config_check file and my
installation proceeded.
* #Checking if using 1.7.0_n*
* if [[ "${THIS_JVM_VER:18:1}" -eq "0" ]] && [[ "$temp_JAVA" -eq
"$JAVA7" ]]; then*
* if [[ "${THIS_JVM_VER:20:2}" -eq "0" ]] || [[
"${THIS_JVM_VER:20:3}" -lt $JAVA65 ]]; then*
* error="true"*
* fi*
* fi*
Will right up a JIRA for this.
Roberta