JDownloader 2 - Headless installation on Ubuntu 16.04

jdownloader
java
ubuntu
16.04
install

#1

Hi Guys,

I like PyLoad but somtimes i get some issues and other errors with captchas and so on. So i decide to test Jdownloader on my Quickbox Installation. First. Jdownloader is not for multi user. Only one can use it. If you want you can try it. I am not good in English. I hope you understand it anyway. :slight_smile:


So first Install Java (normaly Quickbox will install it by default)

apt-get install openjdk-8-jre-headless

Log in as your user / not as root and make a new folder for Jdownloader

mkdir /opt/jdownloader

Next download the “JAR” Version of Jdownloader -> http://jdownloader.org/download/index

Upload it via FTP or SFTP to /opt/jdownloader |

chown -R yourname:yourname /opt/jdownloader
cd /opt/jdownloader
chmod +x jdownloader.jar

Okay lets start JDownloader the first time. Jdownloader will download all needed files and create some folders. Then it will restart and run in the background. But we must stop it. Because we need to setup the Webinterface.

java -jar JDownloader.jar

Okay now stop the Jdownloader

ps -ef|grep JDownloader

#jdownlo+  5618     1 99 22:22 pts/0    00:00:14 /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java -jar JDownloader.jar -afterupdate

kill 5618

Go to https://my.jdownloader.org/ and create a new Account / if you doesnt have one.

Now we can start it again and you must enter your Account Credentials

java -jar JDownloader.jar
...
|---------------------------Headless Information-------------------------------
|       MyJDownloader Setup
|       Your logging data from "My.JDownloader" is not correct.
|       Please check the user name, e-mail and password!
|       Enter y -> Enter Logins
|       Enter n -> Exit JDownloader

You should press Y in the next Step enter your Account Details. Your server will now shown in the Webinterface and you can edit some Options and add Premium Accounts.

Jdownloader will run in Background and restart itself … in cause of a crash.

You can Use Click’n’Load too! Check -> https://my.jdownloader.org/apps/?ref=myjd_web

Thats all.
Greez WDX


#2

When i run java -jar JDownloader.jar, it’s doesn’t ask me for credentials, i’ve always got the message that ask me to restart the task.

Have any idea ?


#3

Hey Urial_Newtype,

try the following start comand

java -jar JDownloader.jar -myjd