Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
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.
hi im trying to get Azurues to run and this is the output i get when i try doing so.
[jeff@localhost jeff]$ bittorrent
Starting Azureus...
Java exec not found in PATH, starting auto-search...
Java exec found in /usr/java/jre1.5.0_02/bin/
Suitable java version found [/usr/java/jre1.5.0_02/bin/java = 1.5.0_02]
Configuring environment...
Loading Azureus:
/usr/java/jre1.5.0_02/bin/java -Xms16m -Xmx128m -cp "/usr/local/bin/*.jar" -Djava.library.path="/usr/local/bin" -Dazureus.install.path="/usr/local/bin" org.gudy.azureus2.ui.swt.Main ''
Exception in thread "main" java.lang.NoClassDefFoundError: org/gudy/azureus2/ui/swt/Main
Azureus TERMINATED.
[jeff@localhost jeff]$
(note: i sym linked the Azureus exec to bittorent cuz i spell Azureus different everytime i type it. lol) Does anyone know what this exception means and how i can fix it? Also what java exec is it looking for? java or java_vm? I want to know so i'll just make a sym link to it in my path so Azureus doesn't have to auto-search. thanks for your help in advance.
that worked perfectly. Is there a way i can associate files with a sym link so that azureus will find the files it needs when i use the sym link? Would a hardlink do this? Or should i just include the path that azureus is in to the PATH variable? I assume this would be less desirable because non-root users have easy access to that directory. thanks for your quick reply by the way.
I don't have access to my computer to check, but if I remember correctly I created a script that "cd"s to the azurues directory and run the executable. I'll post here when I find out for sure.
thanks i didn't even think of that. I know shell scripting so i just wrote one up quick to do it. If anyone is in the same boat as me here is the script i made.
#!/bin/sh
# Change to Azureus directory and execute Azureus
cd /home/jeff/src/azureus
./azureus
exit 0
of course this will work with any program just change the directory to reflect the new program and change ./azureus to reflect the new executable. Then just make the script executable with chmod +x scriptname.sh
i executed the script u wrote from webmin, it does'nt run. but it works fine from command line. i want to run azureus from webmin through my scheduled cron jobs.here is the output:
Output from command export DISPLAY=:0.0;/home/anirban/azureusscript.sh; ..
Starting Azureus...
Java exec not found in PATH, starting auto-search...
Java exec found in /usr/java/latest/bin/
Suitable java version found [/usr/java/latest/bin/java = 1.6.0_03]
Configuring environment...
Loading Azureus:
/usr/java/latest/bin/java -Xms16m -Xmx128m -cp "/home/anirban/install/azureus/Azureus2.jar:/home/anirban/install/azureus/swt.jar" -Djava.library.path="/home/anirban/install/azureus" -Dazureus.install.path="/home/anirban/install/azureus" org.gudy.azureus2.ui.swt.Main ''
changeLocale: *Default Language* != English (United States). Searching without country..
changeLocale: Searching for language English in *any* country..
changeLocale: no message properties for Locale 'English (United States)' (en_US), using 'English (default)'
Xlib: connection to ":0.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key
Exception in thread "main" org.eclipse.swt.SWTError: No more handles [gtk_init_check() failed]
at org.eclipse.swt.SWT.error(SWT.java:3589)
at org.eclipse.swt.widgets.Display.createDisplay(Display.java:836)
at org.eclipse.swt.widgets.Display.create(Display.java:824)
at org.eclipse.swt.graphics.Device.<init>(Device.java:152)
at org.eclipse.swt.widgets.Display.<init>(Display.java:472)
at org.eclipse.swt.widgets.Display.<init>(Display.java:463)
at org.gudy.azureus2.ui.swt.mainwindow.SWTThread.<init>(SWTThread.java:91)
at org.gudy.azureus2.ui.swt.mainwindow.SWTThread.createInstance(SWTThread.java:68)
at org.gudy.azureus2.ui.swt.mainwindow.Initializer.<init>(Initializer.java:101)
at org.gudy.azureus2.ui.swt.Main.<init>(Main.java:80)
at org.gudy.azureus2.ui.swt.Main.main(Main.java:203)
Azureus TERMINATED.
If webmin is not running as user anirban, won't work because you need access to .Xauthority, which, if defined is readable only by anirban.
Currently it opens the security cookie of the user that has started webmin while you should use the security cookie of the user that started X.
hi man,
i start webmin as root, and azureus as anirban .precisely, i run export DISPLAY=:0.0;/home/anirban/azureusscript.sh as user anirban. what sud i do to rectify it? pl help.TIA.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.