LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-13-2004, 04:19 PM   #1
Harp00
Member
 
Registered: Jun 2003
Location: Venice Italy
Distribution: Slackware 12.0 kernel 2.6.21.5
Posts: 284

Rep: Reputation: 30
Bittorrent


I installed bittorrent jdsdk and azureus, but i can not getting started :

azureus
Starting Azureus...
Java exec not found in PATH, starting auto-search...
ls: /usr/java: No such file or directory
OOPS, unable to locate java exec in /usr/java/ hierarchy
You need to upgrade to JRE 1.4.x or newer from http://java.sun.com

What should i do?

Thank you. Harp00.
 
Old 11-13-2004, 04:25 PM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
JRE is the Java Runtime Environment - you have to install it
 
Old 11-13-2004, 04:29 PM   #3
hallamigo
Member
 
Registered: Feb 2004
Location: Utah, USA
Distribution: Debian
Posts: 230

Rep: Reputation: 31
You need to add java to your $PATH - I have the following in my .bashrc file:

export PATH=$PATH:/usr/local/j2sdk1.4.2_05/bin

Then reset your bash session by logging out then back in.

(That is of course, if you were to install the full J2SDK)
 
Old 11-13-2004, 04:36 PM   #4
Harp00
Member
 
Registered: Jun 2003
Location: Venice Italy
Distribution: Slackware 12.0 kernel 2.6.21.5
Posts: 284

Original Poster
Rep: Reputation: 30
So, i installed azureus-2.2.0.0-noarch-suk.tgz bittorrent-3.4.2-noarch-1.tgz and j2sdk-1_4_2_04-i586-3.tgz using installpkg as root.
Do i need to add something to my .bashrc file or install jre-1_5_0-linux-i586.bin?
Sorry, but i am not an engeneer and trying to learn Linux by myself.
 
Old 11-13-2004, 04:43 PM   #5
hallamigo
Member
 
Registered: Feb 2004
Location: Utah, USA
Distribution: Debian
Posts: 230

Rep: Reputation: 31
by installing j2sdk-1_4_2_04-i586-3.tgz you would need to add what I posted above to your .bashrc file - although make sure that the location and version numbers are correct.
 
Old 11-13-2004, 04:54 PM   #6
Harp00
Member
 
Registered: Jun 2003
Location: Venice Italy
Distribution: Slackware 12.0 kernel 2.6.21.5
Posts: 284

Original Poster
Rep: Reputation: 30
Sorry, but i do not have that path.
I only have /usr/lib/j2sdk1.4.2_04/
 
Old 11-13-2004, 04:54 PM   #7
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
if you install java from Slackware you don't need to edit your .bash_profile because Slackware is configured to put java in your path.
 
Old 11-13-2004, 05:08 PM   #8
hallamigo
Member
 
Registered: Feb 2004
Location: Utah, USA
Distribution: Debian
Posts: 230

Rep: Reputation: 31
What is the output when you type

echo $PATH
 
Old 11-13-2004, 05:14 PM   #9
Harp00
Member
 
Registered: Jun 2003
Location: Venice Italy
Distribution: Slackware 12.0 kernel 2.6.21.5
Posts: 284

Original Poster
Rep: Reputation: 30
@darkstar:~$ echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/games:/opt/www/htdig/bin:/usr/lib/java/bin
:/usr/lib/java/jre/bin:/opt/kde/bin:/usr/lib/qt/bin:/usr/share/texmf/bin:.
 
Old 11-13-2004, 05:26 PM   #10
jong357
Senior Member
 
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914

Rep: Reputation: 52
Actually, I had to add it to my path on a fresh install of Slack 10. It doesn't come with a .bashrc or /etc/bashrc so /etc/profile is what I edited.

Code:
# Set the default system $PATH:
PATH="/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/games:/usr/lib/j2sdk1.4.2_04/jre/bin"
All of it should already be there except for the:

Code:
:/usr/lib/j2sdk1.4.2_04/jre/bin
part... I think that may be the location for the Java Virtual Machine.... I know I have to add that so LimeWire will install. It may be the same for Azureus. I don't know know. I'm on my Windows partition at the moment...

So, you didn't need to install Java because you already have it. You might have wanted to get Azureus straight from their web site. It's precompiled and ready to go already. There is no need to install the regular BitTorrent client as well. Azureus is self-contained and will run without it. I would do a 'removepkg' on all three of those, change your /etc/profile so it's got that extra location in your path and then download Azureus from HERE

Double-click on it to extract. Cut/Paste it into /usr/share or wherever you think it should go and then do a:

Code:
ln -s /usr/share/azureus/azureus /usr/bin/azureus
Then just type 'azureus' at a command prompt or make a launcher on your Desktop for it. Good luck whatever you do..
 
Old 11-13-2004, 06:04 PM   #11
Harp00
Member
 
Registered: Jun 2003
Location: Venice Italy
Distribution: Slackware 12.0 kernel 2.6.21.5
Posts: 284

Original Poster
Rep: Reputation: 30
Thank you jong357 i followed your suggests and it seems to work now.
I only downloaded .bz2 file and tar it.
Without editing any file it works just typing ./azureus from tar dir.
See you soon.
 
Old 11-13-2004, 06:08 PM   #12
rotvogel
Member
 
Registered: Oct 2003
Posts: 534

Rep: Reputation: 30
Azureus 2.2.0.0 works much faster using the jre_1.5.0 version of java.
 
Old 11-13-2004, 07:55 PM   #13
jong357
Senior Member
 
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914

Rep: Reputation: 52
I'll have to try the latest JRE cause I am having some shutdown issues with azureus and the stock SDK... Thanks for the info...

Glad you got it running.. Thats a little sloppy leaving that folder on your desktop or in your home directory... Why don't you cut/paste that tar folder into /usr/share and run that last command I listed above.... That way you wont have to 'cd' into it all the time.... just type 'azureus' at any prompt...
 
Old 11-14-2004, 07:37 AM   #14
Harp00
Member
 
Registered: Jun 2003
Location: Venice Italy
Distribution: Slackware 12.0 kernel 2.6.21.5
Posts: 284

Original Poster
Rep: Reputation: 30
Quote:
Azureus 2.2.0.0 works much faster using the jre_1.5.0 version of java.
I tried to find that pkg but i did not found it.
Could you please let me know the link?

I have an ADSL 640 kbps. How should i set upload and download values?
I set 20 upload and 80 download.
Thank you.

P.s. Thank you jong. I already done it. Good suggest!

Last edited by Harp00; 11-14-2004 at 07:40 AM.
 
Old 11-14-2004, 08:02 AM   #15
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
You can get JRE from SUN (other groups distributes it too, but this is the official ), or update Java SDK that comes with slackware, it's 1.5.0 in slackware-current and includes the new JRE.
Here's the link to it: http://www.slackware.com/pb/showdesc...k-1_5_0-i586-1
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
BitTorrent littlemidget General 6 08-29-2004 02:34 AM
BitTorrent??? ojasom Linux - Newbie 8 08-27-2004 04:20 PM
Bittorrent help chrisford553 Linux - Newbie 7 08-10-2004 04:14 PM
bittorrent JROCK1980 Linux - Software 2 04-09-2004 08:05 AM
is there anyone using bittorrent bittorrent-shadowsclient-5.8.3 moonloader Linux - Software 0 01-12-2004 05:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration