#1
|
|||
|
|||
Installation problems
Hi,
Tried to install the Linux version, but it fails with java.lang.NoClassDefFoundError: java.awt.Container Then tried the .zip version, JDownloader installs but when it's running the window is completely grey, cannot see any button or other control. Any tip? |
#2
|
||||
|
||||
Looks like your java is incomplete.
I guess you've installed gcj? and not full JRE? what does "java -version" show? Please use Java 1.8 Java >=1.9 are experimental support. They work but can cause issues
__________________
JD-Dev & Server-Admin |
#3
|
|||
|
|||
Hi,
jdk and jre are installed. openjdk-8u182b00_1 OpenJDK Java Development Kit openjdk-jre-8u182b00_1 OpenJDK Java Runtime Environment # java -version openjdk version "1.8.0_182" OpenJDK Runtime Environment (build 1.8.0_182-b00) OpenJDK 64-Bit Server VM (build 25.182-b00, mixed mode) |
#4
|
||||
|
||||
Can you please show the complete stacktrace/log.
This is a java class and error means that it is missing java.lang.NoClassDefFoundError: java.awt.Container
__________________
JD-Dev & Server-Admin |
#5
|
||||
|
||||
What window manager do you use? Please know that OpenJDK has more issues with some window managers than the Oracle one. Also a XServer is required. Pure Wayland isn't yet supported by java
__________________
JD-Dev & Server-Admin |
#6
|
|||
|
|||
Hi Jiaz,
Thank you for your support! I downloaded the JDownloader.jar and ran it with `java -jar JDownloader.jar`. Never programmed in Java, don't know if have to do it differently. Presently, I'm using the dwm window manager with X11. Here's the complete stacktrace/log: **External links are only visible to Support Staff****External links are only visible to Support Staff** |
#7
|
||||
|
||||
dwm isn't supported out of the box by java
you've got to give little *help* wiki.gentoo.org/wiki/Dwm#Fix_Java_application_misbehaving with that modifications in place, it should work just fine then
__________________
JD-Dev & Server-Admin |
#8
|
|||
|
|||
The two settings were already set because of other Java programs:
$wmname LG3D $ echo $AWT_TOOLKIT MToolkit At line 244 of my log, there's a severe issue, some Code.jar missing, for examples. Can't the problem be related to other issue? |
#9
|
||||
|
||||
Log contains no error. That's a normal log when JDownloader doesn't find a working installation and updating itself to latest available version.
Can you create new log? start JDownloader with java -jar JDownloader.jar -norestart -console
__________________
JD-Dev & Server-Admin |
#10
|
||||
|
||||
I can also offer help via Teamviewer if you like, just contact me via support@jdownloader.org
__________________
JD-Dev & Server-Admin |
#11
|
|||
|
|||
The new log from `java -jar JDownloader.jar -norestart -console`
**External links are only visible to Support Staff****External links are only visible to Support Staff** |
#12
|
||||
|
||||
Log is clean, no errors?!
So what exactly is the problem? Log contains start and stop of JDownloader
__________________
JD-Dev & Server-Admin |
#13
|
|||
|
|||
The problem is the grey window as in the attachment of the whole desktop.
|
#14
|
||||
|
||||
I would say incompatibility between dwm and java.
I would try OracleJVM instead of OpenJDK because it has better compatibility for window managers/servers. Also see porizi.wordpress.com/2014/09/26/running-intellij-idea-under-dwm-with-java-7-8/ wiki.haskell.org/Xmonad/Frequently_asked_questions#Problems_with_Java_applications.2C_Applet_java_console export _JAVA_AWT_WM_NONREPARENTING=1
__________________
JD-Dev & Server-Admin |
#15
|
||||
|
||||
please try this one
export _JAVA_AWT_WM_NONREPARENTING=1
__________________
JD-Dev & Server-Admin |
#16
|
|||
|
|||
Hi Jiaz,
You can add this one to the FAQ! Got it to work. Thank you very much for your support, all the best to you! |
#17
|
||||
|
||||
Thanks for the confirmation! Will create a wiki entry for it!
Glad that you finally got it working
__________________
JD-Dev & Server-Admin |
Thread Tools | |
Display Modes | |
|
|