Apps :: Azureus & Java Runtime Environment



I just finished putting DSL on my backup PC, a Celeron 433 MHz with 64 MB of RAM. I can choose to boot either Win98, DSL, or Knoppix from the HD.

So far it looks like DSL is going to be my favorite. It looks wicked cool.

Can someone point me in the right direction to install Azureus (a java-based bit-torrent client that is my favorite)? I've done my due diligence and found JRE 1.5.0 on the MyDSL Click and load page but I don't know how to install Azureus.

I'm a linux noobie but savvy enough to fill in the details if someone can outline the process for me in a few steps. I don't know if I'm savvy enough to know how to spell savvy though.

Thanks to the folks who put DSL together. Hopefull I'll be buying some stuff from the store soon.

I would like to know the same...  Also, how do I determin what version of Java is the right one to use?  Could someone make a .dsl for java and Azureus?

Thanks,
Jesse

Azureus does work on DSL, here's what I did to make it work.  You need to install the dsl's first:

jre1_5_0.tar.gz
gtk2.dsl
gnu-utils.dsl

jre has the java, gtk is used by swt (which we need to get next because Azureus uses it to run) and gnu-utils is needed because the unzip that comes with dsl can't handle some of the compression used in the zip for swt.

Next, you need to download the swt (Standard Widget Toolkit) from eclipse.  I got it from http://www.eclipse.org/platform/ (the file was called swt-3.0.2-linux-gtk.zip) and unzipped it to a directory I called Azzy.  Then I downloaded Azureus from sourceforge and put it into my Azzy directory as well.  I cd to the azzy directory and the following bash file ran Azureus from that directory:

Code Sample
#!/bin/bash
export PATH=$PATH:/opt/jre1_5_0/bin
export JAVA_HOME=/opt/jre1_5_0
java -cp swt.jar:swt-pi.jar:Azureus2.3.0.0.jar -Djava.library.path=./ org.gudy.azureus2.ui.swt.Main


It asked me if I wanted to update and I said yes.  That worked fine and before I knew it, Azureus was up and running.

EDIT: Stupid copy and paste on my part, correct now

Well, I think everything is in the right place but I'm getting this error when I run the script.  I'm sorry for being such a noob.  I don't know what any of that means.

Exception in thread "main" java.lang.NoClassDefFoundError: org/gudy/azureus2/ui/swt/Main

Jesse

jesseakc, you need to put everything, even that script, into the same directory.  Then cd to that directory and run the script from there.  I got the same error you did when I ran that from some other directory.  Make a new directory called azzy in your home directory and put Azureus2.3.0.0.jar, swt-3.0.2-linux-gtk.zip, and that bash script all in that directory.

open an XShell

cd to that directory you made

type unzip swt-3.0.2-linux-gtk.zip (you should see about 16 files unpacked and no errors.  If you get errors, you forgot to load the gnu-utils.dsl)

use the right click menu and choose myDSL->Update to GTK2 (if you dont see that, you forgot to load the gtk2.dsl package)

If you didn't know how to make a bash script, you open up a beaver editor and save the text for the bash script above into it.  Save it as /home/dsl/azzy/azstart and close beaver.  type chmod 777 /home/dsl/azzy/azstart to make it executable.

If you want, you could add a line to cd to the azzy directory right in the script and then you could run it from anywhere:

Code Sample
#!/bin/bash
export PATH=$PATH:/opt/jre1_5_0/bin
export JAVA_HOME=/opt/jre1_5_0
cd /home/dsl/azzy
java -cp swt.jar:swt-pi.jar:Azureus2.3.0.0.jar -Djava.library.path=./ org.gudy.azureus2.ui.swt.Main


Also note that everything after the java in that script is all on the same line.

Hope this helped.

Next Page...
original here.