Can't get azureus to work. Need Java.

Booting, installing, newbie
Post Reply
Message
Author
User avatar
flamesage
Posts: 214
Joined: Sat 02 Jul 2005, 00:39

Can't get azureus to work. Need Java.

#1 Post by flamesage »

# ./azureus
Starting Azureus...
Java exec not found in PATH, starting auto-search...
ls: /usr/java: No such file or directory
./azureus: line 30: tac: command not found
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

I would assume I need java, but is there a dotpup for this?

I looked on the site, but it's too confusing to navigate, any direct links would be appreashiated.

User avatar
Bancobusto
Posts: 168
Joined: Mon 13 Jun 2005, 20:52
Location: Vancouver Island

#2 Post by Bancobusto »

I'm sorry that you find the site so confusing :shock:

But here's the link for the Java Dot-Pup http://www.goosee.com/puppy/dotpup/java1502.pup


Good luck - I just got azureus running myself, let me know if you need any help getting it set up

:D

EDIT: I'm still trying to figure out how to configure the Morizat firewall to work properly, if anyone has any suggestions it would be deeply appreciated!
Freedom isn't just a Puppy-Linux forum member!

GuestToo
Puppy Master
Posts: 4083
Joined: Wed 04 May 2005, 18:11

#3 Post by GuestToo »

there's a java 1.5.0_2 installer on the dotpups page
http://www.goosee.com/puppy/wikka/DotPups

1.5.0_4 is now available
http://www.java.com/en/download/manual.jsp

i intend to make an installer for 1.5.0_4

it's is not hard to install java

just download the Linux (self-extracting file) - 16 megs
make the file permissions executable
run it in an rxvt window
it should install Java in the same dir the installer file is in
then you have to make a symlink to the Java plugin in your browser plugins dir

to set it up so you can run programs like Azureus
you have to add the path to the java binary in /etc/profile, and also add the java home variable, something like:
export JAVA_HOME=/root/jre1.5.0_04
PATH=$JAVA_HOME/bin:$PATH

the java dir will be about 84 megs

GuestToo
Puppy Master
Posts: 4083
Joined: Wed 04 May 2005, 18:11

#4 Post by GuestToo »

you need to allow incoming ports for Azureus (bit torrent)

i don't remember the default ports, you can set Azureus to use whatever ports you like

just edit /etc/rc.d/rc.firewall-morizot
(i don't know if it gets renamed when it's installed, i have my own copy in my-applications/bin ... actually, a couple of copies, with different configurations)

add the ports you want to allow:
pupUDP_ALLOW_PORTS=""
pupTCP_ALLOW_PORTS=""

what ports or port ranges depends on how you have things configured

if you have a router with a built-in firewall, you will have to forward ports from the router, too

User avatar
Bancobusto
Posts: 168
Joined: Mon 13 Jun 2005, 20:52
Location: Vancouver Island

#5 Post by Bancobusto »

Thanks G2, much appreciated.

Will give it a go later on tonight, thanks :D
Freedom isn't just a Puppy-Linux forum member!

User avatar
flamesage
Posts: 214
Joined: Sat 02 Jul 2005, 00:39

#6 Post by flamesage »

# ./azureus
Starting Azureus...
Java exec not found in PATH, starting auto-search...
ls: /usr/java: No such file or directory
./azureus: line 30: tac: command not found
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

It says it can't find it, and I looked in /usr/java and there was no folder named java (under usr), do you know where the java files are located? That way I can just plop them where it wants.

User avatar
Bancobusto
Posts: 168
Joined: Mon 13 Jun 2005, 20:52
Location: Vancouver Island

#7 Post by Bancobusto »

open up the actual azureus executable.... open it up as text....

therer are a couple of options right at the top.....


in the option to set the java dir, set it to wherever yer java is installed ..... on my machine it was installeds in root, but keep in mind that it wants the fulll path to the java bin....


same with the azureus dir.....


if this doesn't help, i will give you absolute directions by rebooting into Puppy and feeding this to you....


Just ask..
Freedom isn't just a Puppy-Linux forum member!

Post Reply