You are not logged in.

#1 2005-12-13 19:22:03

bistrototal
Member
From: Norway
Registered: 2005-05-25
Posts: 59

Azureus and java error

I just installed Azureus together with java on a fresh 0.7.1 system and when i try running azureus i get the following error message:

/usr/bin/azureus: line 4: java: command not found

I've got j2re-1.5.0_04-1 and azureus-2.3.0.6-1 installed. This is probably where i simple to fix, but i have no clue...

howie

Offline

#2 2005-12-13 19:28:43

lessthanjake
Member
From: Norway
Registered: 2005-11-09
Posts: 319
Website

Re: Azureus and java error

Java is pobably not in your $PATH.  You can add it in /etc/profile

Offline

#3 2005-12-13 19:39:55

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: Azureus and java error

Log out and back in.
As best I know, java adds a login script in /etc/profile.d that only gets sourced when you log in - this script sets up Java's path.
Can't verify accuracy because I'm far from an Arch machine right now, but I'm fairly certain that'll work.

Offline

#4 2005-12-13 20:03:51

Arch
Member
Registered: 2005-11-05
Posts: 37

Re: Azureus and java error

Here's how I fixed it:

Edit .bash_profile
Add this to the end of the file:

PATH=$PATH:/usr/java/bin

(assuming /usr/java/bin is the location of your java compiler)

Then close terminal session and restart the session again, if you plan to run azureus from the command line.


This signature just crossed the line.

Offline

#5 2005-12-13 21:43:19

bistrototal
Member
From: Norway
Registered: 2005-05-25
Posts: 59

Re: Azureus and java error

Thx guys!

Logging in and out did the trick! I admit, though, that i should've remembered to check the path. big_smile

h

Offline

Board footer

Powered by FluxBB