JDownloader Community - Appwork GmbH
 

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 11.08.2019, 07:21
sfxpt sfxpt is offline
Vacuum Cleaner
 
Join Date: Dec 2017
Posts: 15
Default JDownloader Installation failed with NoClassDefFoundError

So I downloaded JDownloader today, and when doing the installation, I'm getting:

Code:
An error occurred:
java.lang.NoClassDefFoundError: java.awt.Container

So which one is correct?

If I need to install java, then which one should I choose? I see:

Code:
default-jre - Standard Java or Java compatible Runtime
openjdk-11-jre - OpenJDK Java runtime, using Hotspot JIT
openjdk-11-jre-zero - Alternative JVM for OpenJDK, using Zero
openjdk-11-jre-dcevm - Alternative VM for OpenJDK 11 with enhanced class redefinition
Just naming a few from the available long list.

Please advice. This is Ubuntu 18.04 BTW:

Code:
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.2 LTS
Release:        18.04
Codename:       bionic
Thanks

Last edited by sfxpt; 11.08.2019 at 07:23.
Reply With Quote
  #2  
Old 11.08.2019, 07:41
sfxpt sfxpt is offline
Vacuum Cleaner
 
Join Date: Dec 2017
Posts: 15
Default

Here is the full error log:

Code:
Exception:

java.lang.NoClassDefFoundError: java.awt.Container
	at com.install4j.runtime.installer.frontend.headless.AbstractHeadlessScreenExecutor.init(AbstractHeadlessScreenExecutor.java:67)
	at com.install4j.runtime.installer.frontend.headless.ConsoleScreenExecutor.<init>(ConsoleScreenExecutor.java:24)
	at com.install4j.runtime.installer.frontend.headless.InstallerConsoleScreenExecutor.<init>(InstallerConsoleScreenExecutor.java:6)
	at com.install4j.runtime.installer.Installer.getScreenExecutor(Installer.java:76)
	at com.install4j.runtime.installer.Installer.runInProcess(Installer.java:40)
	at com.install4j.runtime.installer.Installer.main(Installer.java:28)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at com.exe4j.runtime.LauncherEngine.launch(LauncherEngine.java:62)
	at com.install4j.runtime.launcher.UnixLauncher.main(UnixLauncher.java:57)

System properties:

java.runtime.name=Java(TM) SE Runtime Environment
exe4j.moduleName=/.../dl/JD2Setup_x86.sh
sun.boot.library.path=/.../dl/JD2Setup_x86.sh.17706.dir/jre/lib/i386
java.vm.version=25.66-b17
java.vm.vendor=Oracle Corporation
java.vendor.url=http://java.oracle.com/
path.separator=:
java.vm.name=Java HotSpot(TM) Server VM
file.encoding.pkg=sun.io
user.country=US
sun.java.launcher=SUN_STANDARD
sun.os.patch.level=unknown
install4j.exeDir=/.../dl/
java.vm.specification.name=Java Virtual Machine Specification
user.dir=/.../dl/JD2Setup_x86.sh.17706.dir
java.runtime.version=1.8.0_66-b17
java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment
i4jv=0
java.endorsed.dirs=/.../dl/JD2Setup_x86.sh.17706.dir/jre/lib/endorsed
os.arch=i386
java.io.tmpdir=/tmp
line.separator=

java.vm.specification.vendor=Oracle Corporation
os.name=Linux
exe4j.totalDataLength=52776074
sun.java2d.noddraw=true
sun.jnu.encoding=ANSI_X3.4-1968
java.library.path=/usr/java/packages/lib/i386:/lib:/usr/lib
java.specification.name=Java Platform API Specification
java.class.version=52.0
sun.management.compiler=HotSpot Tiered Compilers
os.version=4.15.0-54-generic
i4j.vpt=true
install4j.cwd=/.../dl
user.home=/.../dl
user.timezone=America/Toronto
java.awt.printerjob=sun.print.PSPrinterJob
file.encoding=ANSI_X3.4-1968
install4j.jvmDir=/.../dl/JD2Setup_x86.sh.17706.dir/jre
java.specification.version=1.8
java.class.path=i4jruntime.jar:user.jar:user/JDownloader.jar:user/proxyVole.jar
user.name=tong
java.vm.specification.version=1.8
sun.java.command=com.install4j.runtime.launcher.UnixLauncher launch 0   com.install4j.runtime.installer.Installer
java.home=/.../dl/JD2Setup_x86.sh.17706.dir/jre
sun.arch.data.model=32
user.language=en
java.specification.vendor=Oracle Corporation
awt.toolkit=sun.awt.X11.XToolkit
java.vm.info=mixed mode
java.version=1.8.0_66
java.ext.dirs=/.../dl/JD2Setup_x86.sh.17706.dir/jre/lib/ext:/.../dl/JD2Setup_x86.sh.17706.dir/jre/jre/lib/ext
sun.boot.class.path=/.../dl/JD2Setup_x86.sh.17706.dir/jre/lib/resources.jar:/.../dl/JD2Setup_x86.sh.17706.dir/jre/lib/rt.jar:/.../dl/JD2Setup_x86.sh.17706.dir/jre/lib/sunrsasign.jar:/.../dl/JD2Setup_x86.sh.17706.dir/jre/lib/jsse.jar:/.../dl/JD2Setup_x86.sh.17706.dir/jre/lib/jce.jar:/.../dl/JD2Setup_x86.sh.17706.dir/jre/lib/charsets.jar:/.../dl/JD2Setup_x86.sh.17706.dir/jre/lib/jfr.jar:/.../dl/JD2Setup_x86.sh.17706.dir/jre/classes
java.awt.headless=true
install4j.appDir=/.../dl/
java.vendor=Oracle Corporation
file.separator=/
java.vendor.url.bug=**External links are only visible to Support Staff**
sun.font.fontmanager=sun.awt.X11FontManager
sun.io.unicode.encoding=UnicodeLittle
sun.cpu.endian=little
sun.cpu.isalist=
Reply With Quote
  #3  
Old 12.08.2019, 15:05
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,289
Default

Are you using 32 or 64 bit OS? What window manager do you use?
__________________
JD-Dev & Server-Admin
Reply With Quote
  #4  
Old 12.08.2019, 15:05
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,289
Default

You can also install manually, see https://support.jdownloader.org/Know...bedded-devices
the same steps are valid for normal installation
__________________
JD-Dev & Server-Admin
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 16:49.
Provided By AppWork GmbH | Privacy | Imprint
Parts of the Design are used from Kirsch designed by Andrew & Austin
Powered by vBulletin® Version 3.8.10 Beta 1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.