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

failed to run installer on RH6 X64

Hi everyone,

I couldn't execute our installer on RedHat 6 X64 platform? Does any one hit this?


[root@ Linux]# ./install-Linux.bin
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...

Launching installer...

Exception in thread "main"
Graphical installers are not supported by the VM. The console mode will be used instead...

Invocation of this Java Application has caused an InvocationTargetException. This application will now exit. (LAX)

Stack Trace:
java.lang.UnsatisfiedLinkError: java/awt/Component.initIDs()V
at java.awt.Component.(Component.java:595)
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:192)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:157)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:157)
at com.zerog.ia.installer.util.BidiUtilImpl.setDefaultLocale(DashoA10*..)
at ZeroGbd.a(DashoA10*..)
at com.zerog.ia.installer.LifeCycleManager.s(DashoA10*..)
at com.zerog.ia.installer.LifeCycleManager.b(DashoA10*..)
at com.zerog.ia.installer.LifeCycleManager.a(DashoA10*..)
at com.zerog.ia.installer.Main.main(DashoA10*..)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
at com.zerog.lax.LAX.launch(DashoA10*..)
at com.zerog.lax.LAX.main(DashoA10*..)
This Application has Unexpectedly Quit: Invocation of this Java Application has caused an InvocationTargetException. This application will now exit. (LAX)
Labels (1)
0 Kudos
(10) Replies
jerome_IA
Level 9

By setting debugging, it should be more talkative about which library failed.

export LAX DEBUG=true && ./install-Linux.bin

Then post the output here again.

--Jerome
0 Kudos
zhiyangchen
Level 6

Hi

Here is the information, does it mean we need to install the libX11.so.6 both from 32bit and 64bit?

LAX Version = 10.0
Exception in thread "main" java.lang.UnsatisfiedLinkError: /tmp/install.dir.7553/Linux/resource/jre/jre/bin/xawt/libmawt.so (libX11.so.6: cannot open shared object file: No such file or directory)
at java.lang.ClassLoader.loadLibraryWithPath(ClassLoader.java:957)
at java.lang.System.load(System.java:441)
at java.lang.ClassLoader.loadLibraryWithPath(Native Method)
at java.lang.ClassLoader.loadLibraryWithPath(ClassLoader.java:949)
at java.lang.ClassLoader.loadLibraryWithClassLoader(ClassLoader.java:926)
at java.lang.System.loadLibrary(System.java:453)
at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:77)
at java.security.AccessController.doPrivileged(AccessController.java:193)
at java.awt.Toolkit.loadLibraries(Toolkit.java:1561)
at java.awt.Toolkit.(Toolkit.java:1582)
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:192)
at ZeroGcd.(DashoA10*..)
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:192)
at com.zerog.ia.installer.LifeCycleManager.(DashoA10*..)
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(J9V

# find / -name libX11.so.6
/usr/lib64/libX11.so.6
0 Kudos
pv7721
Level 20

It may be because your installer is a graphical one and you're executing it in console mode (so no X available). What's the VM you bundle if any? If not, what might have happened is the following: you've bundled no VM and IA used whatever JVM it has found, which by default on RH is not a Sun/Oracle one, therefore known to behave a little peculiar with IA.
0 Kudos
zhiyangchen
Level 6

Hi,

I don't agree with you. I can run my installer on GUI mode in RHEL4 or 5 but it failed on RHEL6. And also if my installer execute without GUI mode, it will automatically run console mode. The installer have VM boudled.
0 Kudos
pv7721
Level 20

What is the bundled JVM version then? Also be aware that there might have been quite a few changes between RH 4 & 5 and RH 6.
0 Kudos
zhiyangchen
Level 6

pv7721 wrote:
What is the bundled JVM version then? Also be aware that there might have been quite a few changes between RH 4 & 5 and RH 6.


Hi,

I am using the Bundled Linux IBM JRE 1.6 SR9 (32-bit)(InstallAnywhere). But I failed to launch the installer on Redhat 6.x X64 platform. The only work around I can do is install all the 32bit libraries as following:
compat-libstdc++-33-3.2.3-69
compat-db-4.6.21-15
libXp-1.0.0-15.1
libXmu-1.0.5-1
libXtst-1.0.99.2-3
pam-1.1.1-4
libXft-2.1.13-4.1
gtk2-2.18.9-4
gtk2-engines-2.18.4-5

Does anyone know the issue and how to fix it?
0 Kudos
Niko2012
Level 3

i do have exactly the same problem. No impact if JVM 1.6 X64 is bundled or not: I do use GUI installation and get the same error:

Invocation of this Java Application has caused an InvocationTargetException. This application will now exit. (LAX)



Stack Trace:

java.lang.UnsatisfiedLinkError: /tmp/install.dir.1233/Linux/resource/jre/lib/amd64/xawt/libmawt.so: libXtst.so.6: cannot open shared object file: No such file or directory

at java.lang.ClassLoader$NativeLibrary.load(Native Method)

at java.lang.ClassLoader.loadLibrary0(Unknown Source)

at java.lang.ClassLoader.loadLibrary(Unknown Source)

at java.lang.Runtime.load0(Unknown Source)

at java.lang.System.load(Unknown Source)

at java.lang.ClassLoader$NativeLibrary.load(Native Method)

at java.lang.ClassLoader.loadLibrary0(Unknown Source)

at java.lang.ClassLoader.loadLibrary(Unknown Source)

at java.lang.Runtime.loadLibrary0(Unknown Source)

at java.lang.System.loadLibrary(Unknown Source)

at sun.security.action.LoadLibraryAction.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native Method)

at sun.awt.NativeLibLoader.loadLibraries(Unknown Source)

at sun.awt.DebugHelper.(Unknown Source)

at java.awt.Component.(Unknown Source)

at com.zerog.ia.installer.util.BidiUtilImpl.setDefaultLocale(DashoA10*..)

at ZeroGbb.a(DashoA10*..)

at com.zerog.ia.installer.LifeCycleManager.q(DashoA10*..)

at com.zerog.ia.installer.LifeCycleManager.b(DashoA10*..)

at com.zerog.ia.installer.LifeCycleManager.a(DashoA10*..)

at com.zerog.ia.installer.Main.main(DashoA10*..)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at com.zerog.lax.LAX.launch(DashoA10*..)

at com.zerog.lax.LAX.main(DashoA10*..)

This Application has Unexpectedly Quit: Invocation of this Java Application has caused an InvocationTargetException. This application will now exit. (LAX)
0 Kudos
jerome_IA
Level 9

The issue was running 32 bit JRE on 64 bit OS.

In your case, you are running 64 bit JRE but what is the OS used?

--Jerome
0 Kudos
Niko2012
Level 3

Extracted infos from "uname -a"

Linux 2.6.32-33-server
Ubuntu x86_64 GNU/Linux
0 Kudos
Niko2012
Level 3

it seems that the library libXp.so.6 wasn't installed and needed by IA.

Why IA does need "X Printing Extension (Xprint) client library" is a good question but, by installing this library (sudo apt-get install libxp6) this problem was solved

Niko
0 Kudos