cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
mdarif21
Level 3

Silent installation on AIX system failes due to sun.awt.X11Graphics Environment

Hi I am getting the following error message when trying to install my project onto a server that has no display attached. My real concern is why InstallAnywhere 2009 is looking for X11 classes when in silent and console mode I would have assumed that graphics were not going to be used at all in these methods of install. Also does anyone know of a work around to avoid this problem.

Stack trace is provided below



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

Stack Trace:
java.lang.NoClassDefFoundError: sun.awt.X11GraphicsEnvironment (initialization failure)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:132)
at java.lang.Class.forNameImpl(Native Method)
at java.lang.Class.forName(Class.java:130)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:101)
at sun.font.FontManager.initSGEnv(FontManager.java:958)
at sun.font.FontManager.findFont2D(FontManager.java:1120)
at java.awt.Font.getFont2D(Font.java:385)
at java.awt.Font.getFamily(Font.java:984)
at java.awt.Font.getFamily_NoClientCode(Font.java:958)
at java.awt.Font.getFamily(Font.java:950)
at ZeroGq3.a(DashoA10*..)
at ZeroGq3.a(DashoA10*..)
at ZeroGq3.a(DashoA10*..)
at ZeroGq3.a(DashoA10*..)
at ZeroGq3.a(DashoA10*..)
at ZeroGq3.a(DashoA10*..)
at ZeroGq3.a(DashoA10*..)
at ZeroGq3.a(DashoA10*..)
at com.zerog.ia.installer.actions.InstallUninstaller.a(DashoA10*..)
at com.zerog.ia.installer.actions.InstallUninstaller.d(DashoA10*..)
at com.zerog.ia.installer.actions.InstallUninstaller.installSelf(DashoA10*..)
at com.zerog.ia.installer.InstallablePiece.install(DashoA10*..)
at com.zerog.ia.installer.InstallablePiece.install(DashoA10*..)
at com.zerog.ia.installer.GhostDirectory.install(DashoA10*..)
at com.zerog.ia.installer.InstallablePiece.install(DashoA10*..)
at com.zerog.ia.installer.Installer.install(DashoA10*..)
at com.zerog.ia.installer.LifeCycleManager.a(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:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
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)

Please help me in this regards..
Labels (1)
0 Kudos
(4) Replies
pv7721
Level 20

Have you launched your setup in silent mode (./setup.bin -i silent or ./setup.bin -f /path/to/installer.properties)?
0 Kudos
mdarif21
Level 3

Yes, I used ./setup.bin -i silent while starting the installation,

But internally I am executing ./setup.bin -f /path/to/installer.properties in post installation for Uninstaller.
0 Kudos
pv7721
Level 20

And so it's the uninstaller which throws this message and not the installer?
0 Kudos
mdarif21
Level 3

Yes, May be...

Is this the expected behaviour when we use LAX?
How can I resolve this..?
0 Kudos