JDownloader 2 Beta on a Zyxel NSA325 NAS

This article was updated on 2014/10/26 because JDownloader now runs in headless environments without any hacks like GhostAWT.

Preparations

Get JDownloader Running

Running JDownloader 2 Beta in a headless environment is now easier than ever. There's no need to use GhostAWT as described in an earlier version of this article. cd into the directory you want to install JDownloader into and download the JDownloader.jar with the command

user@host:/$  wget http://installer.jdownloader.org/JDownloader.jar

Then start JDownloader with the command

user@host:/$  java -jar JDownloader.jar -norestart

JDownloader will try to update and configure itself to be able to run in your headless environment. After the update, run the command again. Be patient and wait until you are asked for your MyJDownloader login credentials. After you've entered them, you should now be able to reach your JDownloader instance with the Android app and the web interface.

If you want to start JDownloader as a background process, just start it like this:

user@host:/$ nohup java -jar JDownloader.jar &

and JDownloader runs detached from the current shell session. If you exit the shell, the process will not be killed.