LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to install azureus in mandriva 2006 (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-install-azureus-in-mandriva-2006-a-403295/)

stefan1988 01-14-2006 10:30 AM

how to install azureus in mandriva 2006
 
I downloaded azureus i read the readme to see how you install it
and these are the instructions

Quote:

REQUIREMENTS:
Azureus requires Sun Java 1.4.x or newer to run.
JRE 1.5 (5.0 series) is highly recommended.
http://java.sun.com

RUNNING:
1. Extract the contents of this .tar.bz2 file.
2. Change to the 'azureus' directory where the files were extracted.
3. Start Azureus by running the script named 'azureus'; ex. "./azureus"

NOTE:
If you have the Java JRE installed somewhere unusual (or not in your PATH),
use the JAVA_PROGRAM_DIR option in the script.
I extracted the contents of the tar to a folder named azureus in my desktop

so i try doing step 3 ./azureus but i get this

Quote:

[stefan@localhost ~]$ '/home/stefan/Desktop/azureus/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
[stefan@localhost ~]$

i have java i believe is 1.4 but what I believe to be my problem is that it doesn't find it and im not sure where to find the JAVA_PROGRAM_DIR option in the script.

any help would be appreciated

erimar77 01-14-2006 10:41 AM

are you sure you have java installed?

try running

#rpm -q j2re

you should get some kind of output like:
j2re-1.4.2_09-1mdk

if it's installed correctly

stefan1988 01-14-2006 11:25 AM

thats weird i dont get nothing for output

Quote:

[stefan@localhost ~]$ #rpm -q j2re
[stefan@localhost ~]$ #rpm -q j2re
[stefan@localhost ~]$ #rpm -q j2re
[stefan@localhost ~]$


btmiller 01-14-2006 01:16 PM

The hash is meant to be the root shell prompt -- it's not a part of the command. You'll need to be root to run rpm -q. Did you even install Java via RPM? RPM only knows about things that were installed via RPM. If you downloaded the tarball from java.sun.com (not the RPM package), rpm won't know about it. Where is your java executable ... the Sun installer seems to stash it in /usr/java/<version>/bin/java. You can either add /usr/java/<version>/bin to your PATH (command is "export PATH=$PATH:/usr/java/<version>/bin" -- no quotes) or create a symbolic link from /usr/bin/java to the java executable. In the description above, you must replace <version> with the actual version of Java you have installed.

Hope this helps.

DukieJF 01-14-2006 01:56 PM

Just out of curiosity, have you tried URPMI? You can get instructions for setup at easyurpmi.zarb.org, and then it's just as easy as typing 'urpmi azureus' (without the quotes) at a shell prompt.

EDIT: I'm a moron. None of my URPMI sources have it. Sorry about that.

stefan1988 01-14-2006 11:08 PM

well i tried this again as root and got
Quote:

[root@localhost stefan]# rpm -q j2re
package j2re is not installed
[root@localhost stefan]#


i believe is because i dont have java i thought i had it because i saw a friend playing a game on my comp i thought it was java but it was actualy flash if i got any trouble installing azureus or java i let you know

thanks for the help

stefan1988 01-15-2006 12:57 AM

well guys i tried installing java but i never encountered something so hard to install -_- linux is still pretty new to me

first i don't know which one to install theres 2 i always hear rpm are the best to go for

j2re-1_4_2_10-linux-i586-rpm.bin
j2re-1_4_2_10-linux-i586.bin

here's the link
https://jsecom15c.sun.com/ECom/EComA...F340CBEF297588

i downloaded both of them i tried both of them but i got this

Quote:

[root@localhost Desktop]# ./j2re-1_4_2_10-linux-i586.bin
bash: ./j2re-1_4_2_10-linux-i586.bin: Permission denied
[root@localhost Desktop]# ./j2re-1_4_2_10-linux-i586-rpm.bin
bash: ./j2re-1_4_2_10-linux-i586-rpm.bin: Permission denied
[root@localhost Desktop]#

and i also found a program named kaffe on urpmi that it says
Summary: A free virtual machine for running Java(TM) code

which one should i install for azureus the normal java application or kaffe and if java can you explain how to install it


any help is appreciated

Nylex 01-15-2006 02:15 AM

You need to set executable permissions, e.g.

$ chmod a+x j2re-1_4_2_10-linux-i586.bin

There are instructions on Sun's site saying exactly that..

erimar77 01-15-2006 08:43 AM

or you can do

Code:

urpmi j2re
i think.. :study:

reddazz 01-15-2006 10:27 AM

If you setup the mandrivaclub.nl repo, you can install azureus using urpmi.

jib2 01-15-2006 10:31 AM

Actually, there are Mdv2006 RPMs for azureus at http://www.mandrivaclub.nl/sources/official/2006/i586/

EDIT : Sorry, Reddazz, i was 4 min late :)

stefan1988 01-15-2006 09:40 PM

well i tried this for urpmi j2re that dint work so i tried doing this what I think you were trying to explain to me

Quote:

[stefan@localhost Desktop]$ ls
azureus/ j2re-1_4_2_10-linux-i586.bin*
Azureus_2.3.0.6_linux.tar.bz2 j2re-1_4_2_10-linux-i586-rpm.bin
device.desktop trash.desktop
dont lose it.txt Welcome.desktop
Home.desktop Wireless
INSTALL_MSN_MESSENGER_DL.EXE
[stefan@localhost Desktop]$ urpmi j2re-1_4_2_10-linux-i586-rpm.bin
bash: urpmi: command not found
[stefan@localhost Desktop]$ urpmi j2re-1_4_2_10-linux-i586-rpm.bin
bash: urpmi: command not found
[stefan@localhost Desktop]$

and for this $ chmod a+x j2re-1_4_2_10-linux-i586.bin

i tried this
Quote:

[stefan@localhost Desktop]$ ls
azureus/ j2re-1_4_2_10-linux-i586.bin*
Azureus_2.3.0.6_linux.tar.bz2 j2re-1_4_2_10-linux-i586-rpm.bin
device.desktop trash.desktop
dont lose it.txt Welcome.desktop
Home.desktop Wireless
INSTALL_MSN_MESSENGER_DL.EXE
[stefan@localhost Desktop]$ $ chmod a+x j2re-1_4_2_10-linux-i586.bin
bash: $: command not found
[stefan@localhost Desktop]$ chmod a+x j2re-1_4_2_10-linux-i586.bin
[stefan@localhost Desktop]$


doing that it allowed me to actually run it
my question is by doing that command isn't the same just right clicking the application and going to permissions and checking is executable?

i dont know if i installed java or what but I got a new folder on my deskto named j2re1.4.2_10 im still not able to install azureus when I try running it I get same message
Quote:

[stefan@localhost azureus]$ ./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



and i also tried this link http://www.mandrivaclub.nl/sources/official/2006/i586/

and i downloaded this one

azureus-2.3.0.6-1.20..>

i tried installing and i got this

i couln't copy message so i typed it

some package requested cannot be installed azureus-2.3.0.6-12006mncl.i586 due to unsastified j2re 1.5.0

reddazz 01-15-2006 10:20 PM

In my post above, I said configure the mandrivaclub.nl repo and not install the package seperately:) When you choose to install azureus using urpmi, the required dependencies are automatically installed.

tkedwards 01-15-2006 10:43 PM

Quote:

my question is by doing that command isn't the same just right clicking the application and going to permissions and checking is executable?
Yes that command (chmod) edits permissions, which you could have done by right-clicking on the file, choosing Properties and then Permissions.

Quote:

i dont know if i installed java or what but I got a new folder on my deskto named j2re1.4.2_10 im still not able to install azureus when I try running it I get same message
If you want to install it yourself you really need to start at http://www.java.com and follow the instructions there. It steps you through all this and the version you've got there is a bit old (its up to 1.5.something now).

Of course if you follow redazz's instructions about that Mandrivaclub.nl site it should be installed automatically for you. BTW redazz what is Mandrivaclub.nl exactly? Is it anything related to Mandriva's Mandrivaclub?

reddazz 01-16-2006 05:20 AM

Quote:

BTW redazz what is Mandrivaclub.nl exactly? Is it anything related to Mandriva's Mandrivaclub?
Its not related to the official Mandriva Club. Mandrivaclub.nl is a Dutch site that provides unofficial support for Mandriva ie forums etc and a third party urpmi repo.


All times are GMT -5. The time now is 01:15 PM.