LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-14-2006, 11:30 AM   #1
stefan1988
Member
 
Registered: Dec 2005
Distribution: Mandriva 2006
Posts: 32

Rep: Reputation: 15
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
 
Old 01-14-2006, 11:41 AM   #2
erimar77
Member
 
Registered: Jan 2006
Posts: 76

Rep: Reputation: 15
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
 
Old 01-14-2006, 12:25 PM   #3
stefan1988
Member
 
Registered: Dec 2005
Distribution: Mandriva 2006
Posts: 32

Original Poster
Rep: Reputation: 15
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 ~]$
 
Old 01-14-2006, 02:16 PM   #4
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
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.
 
Old 01-14-2006, 02:56 PM   #5
DukieJF
LQ Newbie
 
Registered: Aug 2005
Location: Colorado, USA
Distribution: MEPIS 3.4.3
Posts: 21

Rep: Reputation: 15
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.

Last edited by DukieJF; 01-14-2006 at 02:58 PM.
 
Old 01-15-2006, 12:08 AM   #6
stefan1988
Member
 
Registered: Dec 2005
Distribution: Mandriva 2006
Posts: 32

Original Poster
Rep: Reputation: 15
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
 
Old 01-15-2006, 01:57 AM   #7
stefan1988
Member
 
Registered: Dec 2005
Distribution: Mandriva 2006
Posts: 32

Original Poster
Rep: Reputation: 15
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
 
Old 01-15-2006, 03:15 AM   #8
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
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..

Last edited by Nylex; 01-15-2006 at 03:17 AM.
 
Old 01-15-2006, 09:43 AM   #9
erimar77
Member
 
Registered: Jan 2006
Posts: 76

Rep: Reputation: 15
or you can do

Code:
urpmi j2re
i think..
 
Old 01-15-2006, 11:27 AM   #10
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
If you setup the mandrivaclub.nl repo, you can install azureus using urpmi.
 
Old 01-15-2006, 11:31 AM   #11
jib2
Member
 
Registered: Sep 2003
Location: Paris, France
Distribution: Arch x86_64
Posts: 221

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

EDIT : Sorry, Reddazz, i was 4 min late
 
Old 01-15-2006, 10:40 PM   #12
stefan1988
Member
 
Registered: Dec 2005
Distribution: Mandriva 2006
Posts: 32

Original Poster
Rep: Reputation: 15
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

Last edited by stefan1988; 01-15-2006 at 10:58 PM.
 
Old 01-15-2006, 11:20 PM   #13
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
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.
 
Old 01-15-2006, 11:43 PM   #14
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 52
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?
 
Old 01-16-2006, 06:20 AM   #15
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
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.
 
  


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
Mandriva 2006 won't install Kwestion Mandriva 4 04-05-2006 02:52 PM
Mandriva 2006 hangs on install p41elvis Linux - Laptop and Netbook 10 03-28-2006 08:30 AM
mandriva 2006 install on hp fails dickgregory Mandriva 5 02-28-2006 07:17 PM
Azureus - nat error mandriva 2006 wearetheborg Mandriva 6 12-28-2005 09:30 PM
Help to Install Mandriva 2006 Gins Linux - General 3 11-22-2005 05:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:39 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration