question

loko avatar image
loko asked loko posted

'SWING' UI not supported by VM during iTest installation on Linux system

Hi,

 

I encountered the following errors during iTest installation on a linux 32-bit system. Not sure what these errors mean. I had previously successfully installed iTest on this system when I logged in as a root, but I uninstall and re-logged in as a regular user for fresh installation. Could this be the cause of these errors?

 

-------------

 

lnx-server1:10>
lnx-server1:10> fnfr_lnx_340.bin
Preparing to install...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...
Launching installer...
'SWING' UI not supported by VM.  Reverting to AWT.
Invocation of this Java Application has caused an InvocationTargetException. This application will now exit. (LAX)
Stack Trace:
java.lang.NoClassDefFoundError
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:164)
        at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:68)
        at java.awt.Window.init(Window.java:270)
        at java.awt.Window.<init>(Window.java:318)
        at java.awt.Frame.<init>(Frame.java:419)
        at java.awt.Frame.<init>(Frame.java:384)
        at com.zerog.ia.installer.LifeCycleManager.g(DashoA8113)
        at com.zerog.ia.installer.LifeCycleManager.h(DashoA8113)
        at com.zerog.ia.installer.LifeCycleManager.a(DashoA8113)
        at com.zerog.ia.installer.Main.main(DashoA8113)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at com.zerog.lax.LAX.launch(DashoA8113)
        at com.zerog.lax.LAX.main(DashoA8113)
This Application has Unexpectedly Quit: Invocation of this Java Application has caused an InvocationTargetException. This application will now exit. (LAX)
lnx-server1:11>
lnx-server1:11>

 

 

Thanks,

Loko

 

iTestinstallation - licensing
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
PatrickH avatar image
PatrickH answered PatrickH posted

When logged in as this regular user, what version of java is on your path?  You can find this via java -version. Also, can you run any GUI applications at all?

3 comments
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

loko avatar image loko commented ·

Yes, I'm able to run GUI applications on this system. Tthe Java version on this linux system:

 

-----

 

java version "1.5.0_10"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_10-b03)
Java HotSpot(TM) Server VM (build 1.5.0_10-b03, mixed mode)

 

---------------

 

Thanks,

 

0 Likes 0 ·
ZhongyuZ avatar image ZhongyuZ loko commented ·

It seems to be a system-related issue. Do you use Ubuntu by any chance?

 

Please try these 2 options and see whether it works.

 

1. Use console and set DISPLAY:

    > export DISPLAY=:0; ./fnfr_lnx_340.bin

 

2. Use your system's JVM (assume your java path is /usr/bin/java)

    > fnfr_lnx_340.bin LAX_VM /usr/bin/java

 

0 Likes 0 ·
KumarS avatar image KumarS ZhongyuZ commented ·

Your system is missing important libraries to run a full fledged Java application like iTest. Many Linux systems come in a fairly "stripped down" version or are stripped by IT organizations for security and space considerations. These systems can run limited GTK based apps - but have trouble running wide range of GUI apps because they lack certain libraries. It is very hard to figure out what is missing and what needs to be installed (because someone specifically went and removed whole bunch of libraries from such an installation). For this reason, we do not support customized Linux o/s. We support standard RedHat Enterprise Linux 4.0 installation and many other full installations of Linux which have all the libraries installed.

 

I would suggest involving your IT person and troubleshooting - and be prepared to spend considerable amount of time figuring this out. If you want to save time, you may want to ask your IT person of possibility of getting a normal, standard Linux distribution.

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.