KB Article #177564

Installer does not install JRE7 on Linux

Problem

The Installer uses lsb_release to check the Linux version. If this executable is not found it will fallback to installing JRE6 with this type of message:

"JRE7 is not supported on <1Q2012 6.5>. Installer will use JRE6 instead."


Below is an installing session for Gateway 6.15.0 on RedHat Linux which didn't have lsb_release:

==================================================
Starting install session
Start log session (install) /<log>.log
Installer V4.6.1 start on:
OS: 1Q2012
Version: 6.5
Arch: x86_64
Platform: linux-x86-64
chmod: changing permissions of '/<directory>/Tools/splashScreen/splashlinux-x86-32': Operation not permitted
JRE7 is not supported on <1Q2012 6.5>. Installer will use JRE6 instead.
Build ID: 1309261536
Using "/tmp/vfs_cache/" as temporary files store.
(WARN) Axway installer jar file verification failed: Wrong validity period for certificate "[Axway Inc]"
Exception /<installdir> (is a directory)
Installation logical name set to: Gateway01
JRE7 is not supported on <1Q2012 6.5>. Installer will use JRE6 instead.
UseSSL control is set read only using the additional content.
UseSSL control is set read only using the additional content.
Starting install session
Starting install session for Axway_Installer_V4.6.1
JRE7 is not supported on <1Q2012 6.5>. Installer will use JRE6 instead.
Task skipped on Unix platforms.
Task skipped on Unix platforms.
Task skipped on Unix platforms.
Starting install session for Gateway_V6.15.0
End of install session for Gateway_V6.15.0
End of install session for Axway_Installer_V4.6.1
End of install session.
(WARN) Axway installer jar file verification failed: Wrong validity period for certificate "[Axway Inc]"
Starting update session
Starting update session for Axway_Installer_V4.6.1
Starting update session for Gateway_V6.15.0
Applying update SP2
Updating

JVM reference for file

/<installdir>/Gateway/run_time/etc/pelsetup.def, line

p_xsr_java_home=/<installdir>/Java/linux-x86/jre6/
JVM path employed is /<installdir>/Java/linux-x86/jre6/
Updating p_xsr_jvm_extra_parameters for file: pelsetup.def, line p_xsr_jvm_extra_parameters ....
Updating

JVM reference for file <installdir>/Gateway/run_time/etc/profile,

line: p_xsr_java_home=/<installdir>/Java/linux-x86/jre6/JVM path

employed is /<installdir>/Java/linux-x86/jre6/
Product Gateway_V6.15.0 updated successfully
End of update session for Gateway_V6.15.0
End of update session for Axway_Installer_4.6.1
End of update session.

==================================================



Resolution

install lsb_release binary