Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
01-23-2005, 05:27 PM
|
#1
|
Member
Registered: May 2004
Location: Brampton, ONT.
Distribution: Ubuntu Hoary the Hedgehog
Posts: 90
Rep:
|
creating an executable file
hi peepz
for running azureus, i always have to type some commands in console and that takes time.
cant i just make an executable file that runs the code by itself and then azureus starts by itself??
my default folder in consloe is /home/suhail . i only have to type cd Program\ Files (and then) cd azureus (and then i run ) java -cp swt.jar:swt-pi.jar:Azureus2.jar -Djava.library.path=./ org.gudy.azureus2.ui.swt.Main
im running mandrake 10.1. so how do i make it
|
|
|
01-23-2005, 05:32 PM
|
#2
|
Member
Registered: Apr 2004
Location: berkeley, ca
Distribution: slk10, winxp
Posts: 313
Rep:
|
hmm, i've used azureus before, but i never had to do all that. azureus comes with an executable named 'azureus,' (at least with the version i downloaded), which is exactly what you're looking for. it should be there already in your azureus directory: while you're in the azureus directory, try running './azureus'
also, why is there 'program files' on your linux system?
Last edited by rgiggs; 01-23-2005 at 05:36 PM.
|
|
|
01-23-2005, 05:36 PM
|
#3
|
Member
Registered: May 2004
Location: Brampton, ONT.
Distribution: Ubuntu Hoary the Hedgehog
Posts: 90
Original Poster
Rep:
|
well i dunno y but when i click on the icon it does nuthin also ./azureus gives an error so when i went to the azureus site, this was the solution posted there. so i am using it.
about program files, i couldnt think of a good name so i just called the folder that. but i dont like windoze a single bit( and i have almost completely migrated to linux, almost) 
Last edited by liljhand; 01-23-2005 at 05:37 PM.
|
|
|
01-23-2005, 09:26 PM
|
#4
|
Member
Registered: Jan 2005
Location: Earth
Distribution: Fedora
Posts: 40
Rep:
|
Just make a script. Create a text file and put the CLI commands you type to start Azureus, one per line, in the order that you type them at the prompt. Name it startazureus (or whatever). Put it in your home directory and type ./startazureus to start the app.
|
|
|
01-23-2005, 09:58 PM
|
#5
|
Member
Registered: May 2004
Location: Brampton, ONT.
Distribution: Ubuntu Hoary the Hedgehog
Posts: 90
Original Poster
Rep:
|
should it look like this:
cd Program\ Files
cd azureus
java -cp swt.jar:swt-pi.jar:Azureus2.jar -Djava.library.path=./ org.gudy.azureus2.ui.swt.Main
anywayyz i tried it and named it azureus.sh. and when i got to console i just have to type sh azureus.sh. But i want to make it so that when i double click the file, azureus opens. i dont wanna go to console and type it. BTW thanks 4 ur help
|
|
|
01-23-2005, 10:56 PM
|
#6
|
Member
Registered: Jan 2005
Location: Earth
Distribution: Fedora
Posts: 40
Rep:
|
You can make an icon for the script that you create, instead of running it from the command line.
As far as what commands are in it, I guess your commands are correct. Whatever you first type to start Azureus, put that on the first line. Whatever command you type 2nd put on the 2nd line. Etc. Also -forgot to mention..you'll need to run chmod on the script to make it executable (chmod 755 [filename]).
|
|
|
All times are GMT -5. The time now is 01:20 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|