JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 10.08.2017, 15:17
andi5 andi5 is offline
JD Alpha
 
Join Date: Jul 2017
Posts: 20
Default How to launch JD2 on Debian android app without terminal

First I install Debian noroot on my Samsung S3
Launch the app and Install java (because JD2 needs Java).
Than I install JD2 Using Terminal emulator with these scripts-

mkdir /usr/share/JD2

cd /usr/share/JD2
wget http://installer.jdownloader.org/JDownloader.jar

java -Djava.awt.headless=false -jar /usr/share/JD2/JDownloader.jar -norestart

Now every time I have to run terminal emulator and need to run script to start JD2-
java -Djava.awt.headless=false -jar /usr/share/JD2/JDownloader.jar

Please tell me how I run JD2 without typing above script every time.
Is there any alternate method to install and run JD2?
Reply With Quote
  #2  
Old 10.08.2017, 16:35
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 67,541
Default

Place it in autostart of your system. Either vis systemd github.com/OpenMediaVault-Plugin-Developers/openmediavault-jdownloader/blob/master/debian/jdownloader.service

or via /etc/rc.local file
Google will help you very fast on that.

use
java -Djava.awt.headless=false -jar /usr/share/JD2/JDownloader.jar &
to start it background and then you can close terminal. JDownloader will run until you restart system
__________________
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 03:54.
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.