3

I want to install dli-downloader into Ubuntu. Provide step by step guide. With JDK configuration.

Mark Kirby
  • 18,289
  • 19
  • 78
  • 113
Madhav Nikam
  • 2,879
  • 14
  • 32
  • 54
  • possible duplicate of [How to install a .jar file](http://askubuntu.com/questions/372762/how-to-install-a-jar-file) – karel Jun 21 '15 at 07:50

1 Answers1

4

First install JAVA

sudo apt-get install openjdk-7-jre 

Then download dli-downloader with dependancies package, to your /home

wget https://dli-downloader.googlecode.com/files/dli-downloader-5.4-jar-with-dependencies.jar

Then you can run

java -jar ~/dli-downloader-5.4-jar-with-dependencies.jar

Dli-Downloader will now run

You can make a "clickable" executable by opening gedit and pasting this into a new file

[Desktop Entry]
Type=Application
Exec=java -jar ~/dli-downloader-5.4-jar-with-dependencies.jar
Hidden=false
NoDisplay=false
X-GNOME-Autostart-enabled=false
Name=Dli-Downloader
Comment=Runs Dli downloder

Save it in /home as

dli.desktop

Then make it executable

chmod -x ~/dli.desktop

Now if you click dli.desktop dli-downloader will start.

Mark Kirby
  • 18,289
  • 19
  • 78
  • 113