JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 22.06.2020, 23:12
djarash3000 djarash3000 is offline
Junior Loader
 
Join Date: Oct 2018
Posts: 10
Default Can't start JDownloader 2 illegal relective...

Hi there,

I am getting this error trying to start JDownloader 2 on my RPi.

Code:
pi@rasp:~/hdd1/JDownloader/.JDownloader2 $ java -jar JDownloader.jar
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.appwork.shutdown.ShutdownController (file:/home/pi/hdd1/JDownloader/.JDownloader2/JDownloader.jar) to field java.lang.ApplicationShutdownHooks.hooks
WARNING: Please consider reporting this to the maintainers of org.appwork.shutdown.ShutdownController
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
[1/2|Priority: 10000]ShutdownController: start item->flushing logs to disk
Reply With Quote
  #2  
Old 23.06.2020, 15:35
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 53,723
Default

Hi,

this is just a Warning - you can safely ignore this.

-psp-
EDIT

Which java Version do you have installed?
__________________
JD Supporter, Plugin Dev. & Community Manager
How to create a log || Wie man einen Log erstellt
Captcha FAQ EN || Captcha FAQ DE || Erste Schritte & Tutorials
JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
That's true James
Quote:
Originally Posted by James
Die Leute verstehen einfach nicht dass nur weil man mit einer Waffe auch auf Menschen schießen kann dass ein Schützenver​ein kein Ort für Amoklaufide​en ist

Last edited by pspzockerscene; 23.06.2020 at 15:38.
Reply With Quote
  #3  
Old 23.06.2020, 20:56
djarash3000 djarash3000 is offline
Junior Loader
 
Join Date: Oct 2018
Posts: 10
Default

But JDownloader doesn't start thats why I am posting this.

Version from using "Java --version" command:

Code:
openjdk 11.0.7 2020-04-14
OpenJDK Runtime Environment (build 11.0.7+10-post-Raspbian-3deb10u1)
OpenJDK Server VM (build 11.0.7+10-post-Raspbian-3deb10u1, mixed mode)
Reply With Quote
  #4  
Old 24.06.2020, 18:35
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 53,723
Default

Please post the output of:
Code:
java -jar JDownloader.jar -console
-psp-
__________________
JD Supporter, Plugin Dev. & Community Manager
How to create a log || Wie man einen Log erstellt
Captcha FAQ EN || Captcha FAQ DE || Erste Schritte & Tutorials
JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
That's true James
Quote:
Originally Posted by James
Die Leute verstehen einfach nicht dass nur weil man mit einer Waffe auch auf Menschen schießen kann dass ein Schützenver​ein kein Ort für Amoklaufide​en ist
Reply With Quote
  #5  
Old 28.06.2020, 15:18
djarash3000 djarash3000 is offline
Junior Loader
 
Join Date: Oct 2018
Posts: 10
Default

Code:
----------------Request Information-------------
URL: http://update.appwork.org/jcgi/pkg?st=0&rt=SO&jn=JDownloader.jar&pv=9&cv=20190425001&pkh=12f1848a883e733ed40fffff0dae2f35&app=JD&os=LINUX&osr=RASPBIAN&arch=ARM&os64=0&jvm64=0&java=11000007001000&uid=dnt_&urev=14056&srev=14024&surev=14056&ct=Normal&rev=14024&dedup=INTRA&awfcxz=1&dst=-1&lng=en_GB&chlg=0&jdiff=1&1593350266496
URL-Parameters:
   st     : 0
   rt     : SO
   jn     : JDownloader.jar
   pv     : 9
   cv     : 20190425001
   pkh    : 12f1848a883e733ed40fffff0dae2f35
   app    : JD
   os     : LINUX
   osr    : RASPBIAN
   arch   : ARM
   os64   : 0
   jvm64  : 0
   java   : 11000007001000
   uid    : dnt_
   urev   : 14056
   srev   : 14024
   surev  : 14056
   ct     : Normal
   rev    : 14024
   dedup  : INTRA
   awfcxz : 1
   dst    : -1
   lng    : en_GB
   chlg   : 0
   jdiff  : 1
          : 1593350266496
ConnectIP: update.appwork.org/176.9.34.43:80
Connection-Timeout: 20000ms
Read-Timeout: 60000ms
----------------Request-------------------------
GET /jcgi/pkg?st=0&rt=SO&jn=JDownloader.jar&pv=9&cv=20190425001&pkh=12f1848a883e733ed40fffff0dae2f35&app=JD&os=LINUX&osr=RASPBIAN&arch=ARM&os64=0&jvm64=0&java=11000007001000&uid=dnt_&urev=14056&srev=14024&surev=14056&ct=Normal&rev=14024&dedup=INTRA&awfcxz=1&dst=-1&lng=en_GB&chlg=0&jdiff=1&1593350266496 HTTP/1.1
Host: update.appwork.org
Accept-Language: en_GB
User-Agent: JDownloader/201707061810
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cache-Control: no-cache, no-store
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Pragma: no-cache
Connection: Close
Accept-Encoding: gzip
----------------Response Information------------
Connection-Time: 56ms
Request-Time: 137ms
----------------Response------------------------
HTTP/1.1 200 OK
Date: Sun, 28 Jun 2020 13:17:46 GMT
Content-Type: application/json; charset=UTF-8
Content-Length: 163
Connection: close
Server: AppWork GmbH FcgiServer
JCGI: 1
UPD_SRV: 1
------------------------------------------------


47|org.jdownloader.update.UpdateManager.log 28/06/2020, 14:17:46 - INFO [ org.appwork.updatesys.transport.Pkg(parseServerResponse) ] -> {
 "timeStamp"    : 1593350266769,
 "uid"          : null,
 "revisionName" : null,
 "destRevision" : 14024,
 "pong"         : null,
 "status"       : "OK"
}
Update Message: Check for updates
47|org.jdownloader.update.UpdateManager.log 28/06/2020, 14:17:46 - INFO [ org.jdownloader.updatev2.UpdateController(onResults) ] -> onResult
47|org.jdownloader.update.UpdateManager.log 28/06/2020, 14:17:46 - INFO [ org.jdownloader.updatev2.UpdateController(onResults) ] -> {
  "sourcePackages" : [ ],
  "modifiedFiles" : [ ],
  "modifiedPlugins" : [ ],
  "modifiedDirects" : [ ],
  "modifiedRestartRequiredFiles" : [ ],
  "modifiedExtensionFiles" : [ ]
}
47|org.jdownloader.update.UpdateManager.log 28/06/2020, 14:17:46 - INFO [ org.jdownloader.updatev2.UpdateController(onResults) ] -> Nothing to install false

THREAD: 15
15|org.jdownloader.update.UpdateManager.log 28/06/2020, 14:18:17 - INFO [ org.appwork.updatesys.client.defaultimpl.http.HttpClientImpl(info) ] -> GET http://update.appwork.org/jcgi/lastchance?app=JD&pkh=12f1848a883e733ed40fffff0dae2f35&jh=96f50aefa0792ad6bd86cf923615de42&rev=14024&srev=14024&urev=14056&surev=14056 via [Direct, Direct]
15|org.jdownloader.update.UpdateManager.log 28/06/2020, 14:18:17 - INFO [ org.appwork.updatesys.client.defaultimpl.http.HttpClientImpl(internalDownloadWithProxy) ] -> Try Proxy: Direct
15|org.jdownloader.update.UpdateManager.log 28/06/2020, 14:18:17 - INFO [ org.appwork.updatesys.client.defaultimpl.http.HttpClientImpl(info) ] -> Download to /tmp/lastChanceSrc15933502959819555966803870271711lch Size before: 0 bytes
15|org.jdownloader.update.UpdateManager.log 28/06/2020, 14:18:17 - INFO [ org.appwork.updatesys.client.defaultimpl.http.HttpClientImpl(info) ] -> Connection:
----------------Request Information-------------
URL: http://update.appwork.org/jcgi/lastchance?app=JD&pkh=12f1848a883e733ed40fffff0dae2f35&jh=96f50aefa0792ad6bd86cf923615de42&rev=14024&srev=14024&urev=14056&surev=14056
URL-Parameters:
   app   : JD
   pkh   : 12f1848a883e733ed40fffff0dae2f35
   jh    : 96f50aefa0792ad6bd86cf923615de42
   rev   : 14024
   srev  : 14024
   urev  : 14056
   surev : 14056
ConnectIP: update.appwork.org/176.9.34.43:80
Connection-Timeout: 20000ms
Read-Timeout: 60000ms
----------------Request-------------------------
GET /jcgi/lastchance?app=JD&pkh=12f1848a883e733ed40fffff0dae2f35&jh=96f50aefa0792ad6bd86cf923615de42&rev=14024&srev=14024&urev=14056&surev=14056 HTTP/1.1
Host: update.appwork.org
Accept-Language: en_GB
User-Agent: JDownloader/201707061810
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cache-Control: no-cache, no-store
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Pragma: no-cache
Connection: Close
----------------Response Information------------
Connection-Time: 57ms
Request-Time: 132ms
----------------Response------------------------
HTTP/1.1 404 Not Found
Date: Sun, 28 Jun 2020 13:18:17 GMT
Content-Length: 0
Connection: close
Server: AppWork GmbH FcgiServer
JCGI: 1
UPD_SRV: 1
------------------------------------------------


15|org.jdownloader.update.UpdateManager.log 28/06/2020, 14:18:17 - INFO [ org.appwork.updatesys.client.defaultimpl.http.HttpClientImpl(info) ] -> No Last Chance Found. Good!
15|org.jdownloader.update.UpdateManager.log 28/06/2020, 14:18:17 - INFO [ org.appwork.updatesys.client.defaultimpl.http.HttpClientImpl(checkTryNextProxyOrGiveUp) ] -> Check if we can leave
15|org.jdownloader.update.UpdateManager.log 28/06/2020, 14:18:17 - INFO [ org.appwork.updatesys.client.defaultimpl.http.HttpClientImpl(checkTryNextProxyOrGiveUp) ] -> Invalid Response Code: org.appwork.utils.net.BasicHTTP.InvalidResponseCode: Invalid ResponseCode: 404
15|org.jdownloader.update.UpdateManager.log 28/06/2020, 14:18:17 - INFO [ org.appwork.updatesys.client.defaultimpl.http.HttpClientImpl(throwServerExceptions) ] -> Handle BasicHTTPException org.appwork.utils.net.BasicHTTP.BasicHTTPException: org.appwork.utils.net.BasicHTTP.ReadIOException: org.appwork.utils.net.BasicHTTP.InvalidResponseCode: Invalid ResponseCode: 404
Reply With Quote
  #6  
Old 28.06.2020, 15:21
djarash3000 djarash3000 is offline
Junior Loader
 
Join Date: Oct 2018
Posts: 10
Default

So I managed to run it normally but now the script does not work.
Used the startup script from here:

Code:
https://support.jdownloader.org/Knowledgebase/Article/View/myjdownloader---systemd-autostart-script
And here is my actual script edited to my system

Code:
[Unit]
Description=JDownloader
Wants=network.target
After=network.target

[Service]
Type=simple
ExecStart=/usr/bin/java -jar /home/pi/hhd1/JDownloader/.JDownloader2/JDownloader.jar
PIDFile=/home/pi/hhd1/JDownloader/.JDownloader2/JDownloader.pid
User=pi
RemainAfterExit=yes

[Install]
WantedBy=multi-user.target

It gives this error:

Code:
pi@rasp:~/hdd1/JDownloader/.JDownloader2 $ sudo systemctl status jdownloader.service
● jdownloader.service - JDownloader
   Loaded: loaded (/etc/systemd/system/jdownloader.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Sun 2020-06-28 14:16:16 BST; 5min ago
  Process: 1063 ExecStart=/usr/bin/java -jar /home/pi/hhd1/JDownloader/.JDownloader2/JDownloader.jar (code=exited, status=1/FAILURE)
 Main PID: 1063 (code=exited, status=1/FAILURE)

Jun 28 14:16:16 rasp systemd[1]: Started JDownloader.
Jun 28 14:16:16 rasp java[1063]: Error: Unable to access jarfile /home/pi/hhd1/JDownloader/.JDownloader2/JDownloader.jar
Jun 28 14:16:16 rasp systemd[1]: jdownloader.service: Main process exited, code=exited, status=1/FAILURE
Jun 28 14:16:16 rasp systemd[1]: jdownloader.service: Failed with result 'exit-code'.

Last edited by djarash3000; 28.06.2020 at 15:22. Reason: Adding the reason that I get the error from status of script
Reply With Quote
  #7  
Old 03.07.2020, 14:25
djarash3000 djarash3000 is offline
Junior Loader
 
Join Date: Oct 2018
Posts: 10
Default

Any update? Devs?
Reply With Quote
  #8  
Old 03.07.2020, 19:00
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 53,723
Default

Hi again,

Code:
Jun 28 14:16:16 rasp java[1063]: Error: Unable to access jarfile /home/pi/hhd1/JDownloader/.JDownloader2/JDownloader.jar
Possibly a wrong JD path.

-psp-
__________________
JD Supporter, Plugin Dev. & Community Manager
How to create a log || Wie man einen Log erstellt
Captcha FAQ EN || Captcha FAQ DE || Erste Schritte & Tutorials
JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
That's true James
Quote:
Originally Posted by James
Die Leute verstehen einfach nicht dass nur weil man mit einer Waffe auch auf Menschen schießen kann dass ein Schützenver​ein kein Ort für Amoklaufide​en ist
Reply With Quote
  #9  
Old 03.07.2020, 19:51
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,182
Default

either that or permission or ownership issue
__________________
raztoki @ jDownloader reporter/developer
http://svn.jdownloader.org/users/170

Don't fight the system, use it to your advantage. :]
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 11:43.
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 - 2020, Jelsoft Enterprises Ltd.