java.lang.NoClassDefFoundError: java.awt.Container

I am trying to install Visual Paradigm for UML. During the installation it crashes. This is the stack trace:

Unpacking JRE ...
Preparing JRE ...
Starting Installer ...
java.lang.NoClassDefFoundError: java.awt.Container
    at com.install4j.runtime.installer.frontend.headless.AbstractHeadlessScreenExecutor.init(Unknown Source)
    at com.install4j.runtime.installer.frontend.headless.ConsoleScreenExecutor.<init>(Unknown Source)
    at com.install4j.runtime.installer.frontend.headless.InstallerConsoleScreenExecutor.<init>(Unknown Source)
    at com.install4j.runtime.installer.Installer.getScreenExecutor(Unknown Source)
    at com.install4j.runtime.installer.Installer.runInProcess(Unknown Source)
    at com.install4j.runtime.installer.Installer.main(Unknown Source)
    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.exe4j.runtime.LauncherEngine.launch(Unknown Source)
    at com.install4j.runtime.launcher.Launcher.main(Unknown Source)
java.lang.NoClassDefFoundError: java.awt.Component
    at javax.swing.ImageIcon.<clinit>(Unknown Source)
    at com.install4j.runtime.installer.frontend.GUIHelper.loadIcon(Unknown Source)
    at com.install4j.runtime.installer.frontend.GUIHelper.<clinit>(Unknown Source)
    at com.install4j.runtime.installer.helper.InstallerUtil.reportException(Unknown Source)
    at com.install4j.runtime.installer.Installer.main(Unknown Source)
    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.exe4j.runtime.LauncherEngine.launch(Unknown Source)
    at com.install4j.runtime.launcher.Launcher.main(Unknown Source)

It appears that the installer can't find a class in the WT library. I can't see how how that can be possible. Does anyone know what is causing this, and how I may fix it?

[System Information]

java version "1.6.0_24"
OpenJDK Runtime Environment (IcedTea6 1.11.5) (6b24-1.11.5-0ubuntu1~12.04.1)
OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)

I was getting the same problem when trying to install Visual Paradigm on Ubuntu 12.10 64 bit.

Java version:

java version "1.7.0_11"
Java(TM) SE Runtime Environment (build 1.7.0_11-b21)
Java HotSpot(TM) 64-Bit Server VM (build 23.6-b04, mixed mode)

This seemed to fix the problem:

sudo apt-get install ia32-libs

Bitbucket Server installer fails to run with java.lang , atlassian-bitbucket-x.x.x-x64.bin Starting Installer tarting Installer java.lang. NoClassDefFoundError: java.awt.Container at� Missing 32 bit libraries are causing the problem I think. This helped in my case: sudo apt-get update sudo apt-get install libgtk2.0-0:i386 libxtst6:i386 sudo apt-get install libxtst6:i386 sudo apt-get install libx11-dev:i386 sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0 sudo apt-get install libxi6 libxtst6 libxrender1


On ubuntu 14.04 the answer given by Hayden didn't work for me as the package doesn't exist.

This did work though:

apt-get install libxtst6:i386

i.e. it needs the 32 bit version of libxtst

I have a "java.lang.NoClassDefFoundError: java.awt.Container , I have a "java.lang.NoClassDefFoundError: java.awt.Container" error while installing NeoLoad. How can i fix that? I'm trying to install NeoLoad on Linux and this� Atlassian Support; Bitbucket 7.2; Bitbucket Server Knowledge Base; Troubleshooting Bitbucket Server installations; Bitbucket Server installer fails to run with java.lang.NoClassDefFoundError: java.awt.Container


I have had the same problem installing SoapUI software and this command works for me:

$ ./soapUI-x32-4.6.0.sh -J-Djava.awt.headless=true

My system:

Linux 3.10-2-amd64 #1 SMP Debian 3.10.7-1 (2013-08-17) x86_64 GNU/Linux

And my JVM version:

$ java -version
    java version "1.6.0_30"
    Java(TM) SE Runtime Environment (build 1.6.0_30-b12)
    Java HotSpot(TM) 64-Bit Server VM (build 20.5-b03, mixed mode)

Indexing install on Linux - NoClassDefFoundError, Preparing JRE Starting Installer java.lang.NoClassDefFoundError: java.awt. Container at com.install4j.runtime.installer.frontend.headless. I'm trying to use the same docker-compose file to install Neoload Web on Linux RedHat 7 and on Amazon Linux. While on RedHat it start every container and works fine (even


Run the script with -J-Djava.awt.headless=true

sh SoapUI-x32-5.0.0.sh -J-Djava.awt.headless=true

[Solved] Jdownloader2 crash on installation, Preparing JRE Starting Installer java.lang.NoClassDefFoundError: java.awt. Container at com.install4j.runtime.installer.frontend.headless. I'm trying to install soapUI on my laptop and am getting the following error: Starting Installer java.lang.NoClassDefFoundError: java.awt.Container at com.install4j.runtime.insta


Run this command on Ubuntu18.04

sudo apt-get update
sudo apt-get install libxi6 libxtst6 libxrender1

Stupid Java Error: java.lang.NoClassDefFoundError: java.awt , Stupid Java Error: java.lang.NoClassDefFoundError: java.awt.Container. I got this while trying to install the LDS Chruch Indexing for� Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at Snail.moveUp(Snail.java:35) at Snail.chill(Snail.java:20) at Level.mouseReleased(Level.java:120) at java.awt.Component.processMouseEvent(Unknown Source) at javax.swing.JComponent.processMouseEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java


java.lang. NoClassDefFoundError: java.awt.Container_java_酷徒 , Unpacking JRE.. . Preparing JRE.. . Starting Installer.. . java.lang. NoClassDefFoundError: java.awt.Container at com.install4j.runtime.installer. frontend.headless. Hi! I have installed Sun ONE Studio 4 CE with windows 2000 OS and when I open the runidew.exe, it's application I'm getting an error that says


java.lang.NoClassDefFoundError:java.awt.Container, Preparing JRE Starting Installer java.lang.NoClassDefFoundError: java.awt. Container at com.install4j.runtime.installer.frontend.headless. Yes, the class shoud be in the classpath, because the application works correct for a long time. It fails when I leave it wating for a long time.I don't get compilation errors and it allways run after compiling.


java.lang.NoClassDefFoundError: java.awt.Container, Unpacking JRE Preparing JRE Starting Installer java.lang. NoClassDefFoundError: java.awt.Container at com.install4j.runtime.installer. frontend.headless. What steps will reproduce the problem? 1. Remove site from playlist 2. 3. What is the expected output? What do you see instead? What version of the product are you using? On what operating system?