cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
zhiyangchen
Level 6

Should we use x64 jre for RedHat X64 platform

Hi,

I have a problem to execute graphic user interface when bundle X86 jre, I want to know if we need to use X64 jre?
Labels (1)
0 Kudos
(7) Replies
jerome_IA
Level 9

zhiyangchen wrote:
Hi,

I have a problem to execute graphic user interface when bundle X86 jre, I want to know if we need to use X64 jre?


What's the exact problem ? Can you paste the error here.

Which redhat version is it ?

If this is RH6, you need to enable 32 bit support to allow running 32 bit jre.

check post here: http://community.flexerasoftware.com/showthread.php?t=195424&page=2

So please provide some more details ...

--Jerome
0 Kudos
zhiyangchen
Level 6

I have problems to run the installer in GUI mode on RHEL 6 Beta 2. I have to ask user to install all required 32bit libs to make sure the installer can work. Even after that, I couldn't see any exceptions I still have problem to invode the graphic user interface.

[root@vm-rh6-64-4 Linux]# export LAX_DEBUG=true
[root@vm-rh6-64-4 Linux]# ./install-Linux.bin
Preparing to install...
Checking for POSIX df.
Found POSIX df.
Checking tail options...
Using tail -n 1.
True location of the self extractor: /code/CD/Linux/install-Linux.bin
Creating installer data directory: /tmp/install.dir.10985
Creating installer data directory: /tmp/install.dir.10985/InstallerData
Gathering free-space information...
Space needed to complete the self-extraction: 2861186 blocks
Available space: 20529384 blocks
Available blocks: 20529384 Needed blocks: 2861186 (block = 512 bytes)
Computed number of blocks to extract: 2591
Extracting the JRE from the installer archive...
Extracting JRE from ./install-Linux.bin to /tmp/install.dir.10985/Linux/resource/jre_padded ...
Extracting done, exit code = 0
Extracting JRE from /tmp/install.dir.10985/Linux/resource/jre_padded to /tmp/install.dir.10985/Linux/resource/vm.tar.Z ...
Extracting done, exit code = 0
Unpacking the JRE...
Unpacking the JRE...
gzip is /bin/gzip
GZIP done.
TAR done.
Extracting the installation resources from the installer archive...
Extracting install.zip from ./install-Linux.bin to /tmp/install.dir.10985/InstallerData/installer.padded ...
Extracting to padded done, exit code = 0
Extracting from padded to zip done, exit code = 0
Creating disk1 data directory: /tmp/install.dir.10985/InstallerData/Disk1
Creating instdata data directory: /tmp/install.dir.10985/InstallerData/Disk1/InstData
Extracting resources from ./install-Linux.bin to /tmp/install.dir.10985/InstallerData/Disk1/InstData/Resource1.zip ...
Extracting done, exit code = 0
Configuring the installer for this system's environment...

========= Analyzing UNIX Environment =================================
Setting UNIX (linux) flavor specifics.
Importing UNIX environment into LAX properties.
Checking for POSIX awk.

========= Analyzing LAX ==============================================
LAX found............................ OK.
LAX properties read.................. OK.

========= Finding VM =================================================
Valid VM types.......................... 1.4+
Absolute LAX_VM path.................... /tmp/install.dir.10985/Linux/resource/jre/jre/bin/java
Expanded Valid VM types................. 1.4+
* Using VM.....(lax.nl.current.vm)...... /tmp/install.dir.10985/Linux/resource/jre/jre/bin/java
checking for NPTL + JVM vulernability...
NPTL detected! checking for vulnerable JVM....

========= Virtual Machine Options ====================================
LAX properties incorporated............. OK.
classpath............................... "/tmp/install.dir.10985/InstallerData:/tmp/install.dir.10985/InstallerData/installer.zip"
main class.............................. "com.zerog.ia.installer.Main"
.lax file path.......................... "/tmp/install.dir.10985/temp.lax"
user directory.......................... "/tmp/install.dir.10985"
stdout to............................... "console"
sterr to................................ "console"
install directory....................... ""
JIT..................................... none
option (verify)......................... off
option (verbosity)...................... none
option (garbage collection extent)...... none
option (garbage collection thread)...... none
option (native stack max size).......... none
option (java stack max size)............ none
option (java heap max size)............. 71680000
option (java heap initial size)......... 16777216
option (lax.nl.java.option.additional).. none


Launching installer...

========= VM Command Line ============================================
options: -Djava.compiler=NONE -Xmx71680000 -Xms16777216
CLASSPATH:/tmp/install.dir.10985/InstallerData:/tmp/install.dir.10985/InstallerData/installer.zip:

========= Forking JAVA =============================================
LAX Version = 11.5

Graphical installers are not supported by the VM. The console mode will be used instead...

__________________________________________________________________________

InstallAnywhere 2010
Version: 11.5
__________________________________________________________________________

Sat May 21 10:54:08 IDT 2011

Free Memory: 10820 kB
Total Memory: 16384 kB

No Arguments

java.class.path:
/tmp/install.dir.10985/InstallerData
/tmp/install.dir.10985/InstallerData/installer.zip

ZGUtil.CLASS_PATH:
/tmp/install.dir.10985/InstallerData
/tmp/install.dir.10985/InstallerData/installer.zip

sun.boot.class.path:
/tmp/install.dir.10985/Linux/resource/jre/jre/lib/vm.jar
/tmp/install.dir.10985/Linux/resource/jre/jre/lib/annotation.jar
/tmp/install.dir.10985/Linux/resource/jre/jre/lib/beans.jar
/tmp/install.dir.10985/Linux/resource/jre/jre/lib/java.util.jar
/tmp/install.dir.10985/Linux/resource/jre/jre/lib/jndi.jar
/tmp/install.dir.10985/Linux/resource/jre/jre/lib/logging.jar
/tmp/install.dir.10985/Linux/resource/jre/jre/lib/security.jar
/tmp/install.dir.10985/Linux/resource/jre/jre/lib/sql.jar
/tmp/install.dir.10985/Linux/resource/jre/jre/lib/ibmorb.jar
/tmp/install.dir.10985/Linux/resource/jre/jre/lib/ibmorbapi.jar
/tmp/install.dir.10985/Linux/resource/jre/jre/lib/ibmcfw.jar
/tmp/install.dir.10985/Linux/resource/jre/jre/lib/rt.jar
/tmp/install.dir.10985/Linux/resource/jre/jre/lib/charsets.jar
/tmp/install.dir.10985/Linux/resource/jre/jre/lib/resources.jar
/tmp/install.dir.10985/Linux/resource/jre/jre/lib/ibmpkcs.jar
/tmp/install.dir.10985/Linux/resource/jre/jre/lib/ibmcertpathfw.jar
/tmp/install.dir.10985/Linux/resource/jre/jre/lib/ibmjgssfw.jar
/tmp/install.dir.10985/Linux/resource/jre/jre/lib/ibmjssefw.jar
/tmp/install.dir.10985/Linux/resource/jre/jre/lib/ibmsaslfw.jar
/tmp/install.dir.10985/Linux/resource/jre/jre/lib/ibmjcefw.jar
/tmp/install.dir.10985/Linux/resource/jre/jre/lib/ibmjgssprovider.jar
/tmp/install.dir.10985/Linux/resource/jre/jre/lib/ibmjsseprovider2.jar
/tmp/install.dir.10985/Linux/resource/jre/jre/lib/ibmcertpathprovider.jar
/tmp/install.dir.10985/Linux/resource/jre/jre/lib/ibmxmlcrypto.jar
/tmp/install.dir.10985/Linux/resource/jre/jre/lib/management-agent.jar
/tmp/install.dir.10985/Linux/resource/jre/jre/lib/xml.jar
/tmp/install.dir.10985/Linux/resource/jre/jre/lib/jlm.jar
/tmp/install.dir.10985/Linux/resource/jre/jre/lib/javascript.jar

java.ext.dirs:
/tmp/install.dir.10985/Linux/resource/jre/jre/lib/ext

java.version == 1.6.0 (Java 1)
java.vm.name == IBM J9 VM
java.vm.vendor == IBM Corporation
java.vm.version == 2.4
java.vm.specification.name == Java Virtual Machine Specification
java.vm.specification.vendor == Sun Microsystems Inc.
java.vm.specification.version == 1.0
java.specification.name == Java Platform API Specification
java.specification.vendor == Sun Microsystems Inc.
java.specification.version == 1.6
java.vendor == IBM Corporation
java.vendor.url == http://www.ibm.com/
java.class.version == 50.0
java.compiler == NONE
java.home == /tmp/install.dir.10985/Linux/resource/jre/jre
java.io.tmpdir == /tmp
os.name == Linux
os.arch == x86
os.version == 2.6.32-71.el6.x86_64
path.separator == :
file.separator == /
file.encoding == UTF-8
user.name == root
user.home == /root
user.dir == /tmp/install.dir.10985
user.language == en
user.region == null
__________________________________________________________________________

===============================================================================
Choose Locale...
----------------

1- Deutsch
->2- English
3- Espaol
4- Franais
5- Italiano
6- Portugus (Brasil)

CHOOSE LOCALE BY NUMBER:
0 Kudos
jerome_IA
Level 9

Please send ouput of:

sh -x install-Linux.bin

This might give the reason why "Graphical installers are not supported by the VM".

--Jerome
0 Kudos
limejuice
Level 2

We've encountered this same problem where the setup.bin fails with errors when running an installer built with a 32-bit JRE on RHEL 6.1 64-bit OS.

In order to get the installer to run, we had to add the 32-bit libraries for glibc, libXext, and libXtst.

We are looking into switching to 64-bit JRE for the installer. That will eliminate the need for libXext and libXtst 32-bit, and hopefully the glibc 32-bit.

It would be better if the setup.bin detected if when necessary libaries are missing and give a better error message.
0 Kudos
madhavbantwal
Level 6

Hi,

Yes,We have to use x64 bit Jre for RHEL 6.1 64 bit.

Thanks,
Madhav Pai
InstallAnywhere Engineering
Flexera software
0 Kudos
yuvachitra
Level 3

Does console mode goes fine with the 32-bit jre on RHEL 6.1 x64?
Or, do we have to bundle 64-bit jre for console mode installation too?

On trying the 32-bit installer on RHEL 6.1 x64, i got the error as
Preparing to install...
Extracting the JRE from the installer archive...
Unpacking the JRE...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...
strings: '/lib/libc.so.6': No such file
Launching installer...
./install.bin: /tmp/install.dir.3999/Linux/resource/jre/bin/java: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
./install.bin: line 2479: /tmp/install.dir.3999/Linux/resource/jre/bin/java: Success

Yuva
0 Kudos
pv7721
Level 20

0 Kudos