JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 17.08.2017, 14:46
snickers2k snickers2k is offline
JD Addict
 
Join Date: Oct 2015
Posts: 174
Default Not get asked for my.jdownloader credentials (CLI)

Hey. when running "java -jar JDownloader.jar -norestart" instead of getting the my.jdownloader dialog, i get this message:
Quote:
|---------------------------Headless Information-------------------------------
| Exception Occured
| Exception occured
| An unexpected error occured.
| JDownloader will try to fix this. If this happens again, please contact our support.
| Stacktrace:
| java.awt.HeadlessException: No Dialogs in Headless Mode!
| No X11 DISPLAY variable was set, but this program performed an operation which requires it.
| at org.appwork.utils.swing.dialog.Dialog.showDialogRawOutsideEDT(Dialog.java:542)
| at org.appwork.utils.swing.dialog.Dialog.showDialogRaw(Dialog.java:512)
| at org.appwork.utils.swing.dialog.Dialog.showDialog(Dialog.java:496)
| at org.appwork.utils.swing.dialog.Dialog.showExceptionDialog(Dialog.java:645)
| at org.jdownloader.update.lastchance.LastChanceManager.run(LastChanceManager.java:128)
| at org.jdownloader.update.launcher.SecondLevelLauncher.init(SecondLevelLauncher.java:590)
| at org.jdownloader.update.launcher.SecondLevelLauncher.runMain(SecondLevelLauncher.java:271)
| at org.jdownloader.update.launcher.JDLauncher.main(JDLauncher.java:13)
| Press Enter to continue
tried multiple times. Since your tutorial says "repeat until JDownloader asks you to enter your MyJDownloader logins on console" is absolutely not userfriendly, maybe you could add an option at start like "-- my.jdownloader" or maybe a config file to fill in the credentials. Right now, is really ... not nice
thanks
Reply With Quote
  #2  
Old 17.08.2017, 16:34
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,554
Default

I guess your java version is broken or something else happened.
Without the complete log I can't tell more.
Please send the complete output to support@jdownloader.org

I guess that your java version is broken which breaks the installation.
Please try to use the jvm from Oracle http://www.oracle.com/technetwork/ja...s-2133151.html
__________________
JD-Dev & Server-Admin
Reply With Quote
  #3  
Old 17.08.2017, 17:28
snickers2k snickers2k is offline
JD Addict
 
Join Date: Oct 2015
Posts: 174
Default

Oh Gott... Sorry Jiaz. Ich habe meine Installation irgendwie versaubeutelt. Habe auch das Ticket AII-451-99597 eröffnet, weil ich dachte, es seien zwei komplett unterschiedliche Fehler. Dort habe ich die Logs geschickt.
Wie du sagtest, ich habe ein IBM-Java installiert (ich wusste nicht mal, dass es ein Java von IBM gibt (!)). Statt unter ubuntu "apt install default-jre" , habe ich nur "apt install jre" eingegeben. Das Resultat war dann wohl IBM's Java ?! Mysteriös. Naja, "apt remove ibm-java80-jre" und ein "apt install default-jre" haben das Problem gelöst.
Quote:
java -version
openjdk version "1.8.0_131"
OpenJDK Runtime Environment (build 1.8.0_131-8u131-b11-2ubuntu1.16.04.3-b11)
OpenJDK 64-Bit Server VM (build 25.131-b11, mixed mode)
Vielen, vielen Dank Jiaz. Mal wieder :D Ihr seid echt super.

--
Update: Nur dass ich leider immer noch nicht wieder zum my.jdownloader login aufgefordert werde. JDownloader.jar und tmp gelöscht .. :/ Ich denke eine etwas gezieltere Option für my.jdownloader wäre hilfreich.
Aber es liegt wohl auch nicht nur daran. JD beendet sofort nach dem start wieder.

--
Update2: So, habe jetzt den gesamten jd2 Ordner gelöscht und neu installiert. Funktioniert wieder alles :/ Sicherlich ein außergewöhnlicher Fall, aber evtl sollte der Installer prüfen, ob dieses komische IBM-Java-zeug installiert ist und einen Fehler auswerfen.
Vielen Dank auf jeden Fall noch einmal, dass du mich in die richtige Richtung gelenkt hast.
Attached Files
File Type: zip 1502984547740_Thu, Aug 17, 2017 17.42 +0200.zip (13.6 KB, 1 views)

Last edited by snickers2k; 17.08.2017 at 17:54.
Reply With Quote
  #4  
Old 17.08.2017, 18:20
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,554
Default

Danke fürs Feedback. Freut mich das die Installation nun geklappt hat!

Ich werde eine IBM-Java Erkennung einbauen oder den Fehler beseitigen, sofern möglich.

Anhand der Logs kann ich sehen das es wohl Probleme mit den Rechten/Eigentümer gab. Deswegen hat ein Löschen und Neuversuch dann letztendlich zum Erfolg geführt.
__________________
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 23:33.
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.