Joined: June 2004
||Posted: May 27 2005,20:08
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 Azureus22.214.171.124.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 |
java -cp swt.jar:swt-pi.jar:Azureus126.96.36.199.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.