LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 05-08-2004, 11:04 AM   #1
santasballz
Member
 
Registered: Jan 2004
Posts: 227

Rep: Reputation: 30
azureus bittorrent client won't start, help plz!


when i go into the azureus directory and type in
./azureus
it says

Attempting to start Azureus...
./azureus: line 52: java: command not found


but the thing is, i've already installed java from http://java.sun.com/j2se/1.4.2/download.html
and my other applications which require java works as well. but how come azureus cannot start?

one thing i've read on the main site is that:

"If you get an error message, or want to configure the java exec path, just open the azureus script file with your favorite text editor and edit the given configuration options."

now how exactly do i change that? how do i know where the path to java is?
 
Old 05-09-2004, 05:45 AM   #2
Cerbere
Member
 
Registered: Dec 2002
Location: California
Distribution: Slackware & LFS
Posts: 799

Rep: Reputation: 33
Try running 'locate j2sdk1.4.2'. You should find the java executables in a path similar to this: /usr/java/j2sdk1.4.2/bin/

Then just put the path that you find in line 4 of azureus. It goes right under the line where you put the full path to your azureus script. It's pretty well-commented, so it shouldn't be hard to figure out where to put the path.

Enjoy!
--- Cerbere
 
Old 05-09-2004, 12:07 PM   #3
rmanocha
Member
 
Registered: Oct 2003
Location: Austin,TX
Distribution: Debian SID-->fully content-->Love APT,kernel 2.6.4
Posts: 327

Rep: Reputation: 30
If you installed java from downloading the java package from the sun site..your java bnaries should be in
Code:
~/j2sdk_nb/j2sdk1.4.2/bin
Put this whole path in the azerus script and it should work.
 
Old 05-10-2004, 08:35 PM   #4
santasballz
Member
 
Registered: Jan 2004
Posts: 227

Original Poster
Rep: Reputation: 30
thx it worked!
 
Old 05-31-2004, 06:52 PM   #5
opioid
Member
 
Registered: Jul 2003
Location: Chicago
Distribution: Ubuntu
Posts: 124

Rep: Reputation: 15
Code snippet for how i got mine to work

Code:
#!/bin/bash

######## CONFIGURE ########
JAVA_PROGRAM_DIR=""				# use full path to java bin dir, ex. "/usr/local/j2sdk1.4.2_04/bin"
###########################

MSG0="Loading Azureus:"
MSG1="Starting Azureus..."
MSG2="Java exec found in "
MSG3="OOPS, your java version is too old "
MSG4="You need to upgrade to JRE 1.4.x or newer from http://java.sun.com"
MSG5="Suitable java version found "
MSG6="Configuring environment..."
MSG7="OOPS, you don't seem to have a valid JRE "
MSG8="OOPS, unable to locate java exec in "
MSG9=" hierarchy"
MSG10="Java exec not found in PATH, starting auto-search..."
MSG11="Java exec found in PATH. Verifying..."

look_for_java()
{
 JAVADIR=/usr/local/j2sdk1.4.2_04
  IFS=$'\n'
 
Old 05-31-2004, 06:53 PM   #6
opioid
Member
 
Registered: Jul 2003
Location: Chicago
Distribution: Ubuntu
Posts: 124

Rep: Reputation: 15
dd

Last edited by opioid; 06-03-2004 at 03:57 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
how do I start the bittorrent client barrythai SUSE / openSUSE 2 05-06-2005 10:38 AM
Installing Azureus/Bittorrent jc_firestorm Linux - Software 1 03-13-2005 10:02 AM
Azureus (bittorrent client) can't connect to tracker and some other conn. issues nerocz SUSE / openSUSE 1 02-12-2005 11:18 PM
azureus motif (bittorrent client) hangs! hari_seldon99 Linux - Software 3 02-25-2004 10:02 PM
Bittorrent Client Azureus fails to connect irfanhab Linux - Software 1 02-01-2004 04:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:43 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