LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 02-05-2005, 06:33 PM   #1
DeeCver
LQ Newbie
 
Registered: Feb 2005
Location: Ohio
Distribution: Fedora
Posts: 3

Rep: Reputation: 0
Azureus....


I just finished d/l and installing Azureus and I'm having one problem. Whenever I try to launch the program, I get an error message saying..........

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 java.sun.com

Now this is because my Java is installed in /usr/local
How do I get Azureus to recognize that I do have a valid for of Java installed, and point it to the proper location?

Thanks in advance
 
Old 02-05-2005, 06:49 PM   #2
MikeOliveri
LQ Newbie
 
Registered: Feb 2005
Distribution: Slackware
Posts: 11

Rep: Reputation: 0
Re: Azureus

I would try linking /usr/java to /usr/local/java (or whatever your directory is) and see if that helps you any.

# ln -s /usr/local/java /usr/java

Take care,
Mike
 
Old 02-05-2005, 07:34 PM   #3
stonecrest
Member
 
Registered: Sep 2004
Distribution: Arch :D
Posts: 66

Rep: Reputation: 15
You could also do

Code:
JAVA_PROGRAM_DIR="/usr/local/java"
 
Old 02-06-2005, 02:09 AM   #4
elluva
Member
 
Registered: Aug 2003
Location: Belguim, Ostend and Ghent
Distribution: Ubuntu
Posts: 600

Rep: Reputation: 30
the link is better, since many java programs rely on the fact that java is located in /usr/java, that's just the standard location...
 
Old 02-26-2005, 09:43 AM   #5
ariadne
LQ Newbie
 
Registered: Feb 2005
Location: Canada
Distribution: Fedora Core 3
Posts: 3

Rep: Reputation: 0
You can always decompress the .bin JRE in /usr/java and avoid a tangle of links. I prefer to keep it simple, especially with Linux being so sophisticated (less to think about). To do so enter the following commands in the console as root:

su
(to become root, enter password)

cp /path/of/JRE.bin /usr/java
cd /usr/java
sh *.bin

and when decompression is complete

rm *.bin

(make sure that you press Y to only that JRE.bin --if there are others in that directory-- or you may have trouble later). Using the -f option with rm and as root can result in disaster if you aren't careful).

I tried it this way and it work, and I finally got Azureus installed. w00t for me!

Ariadne
 
Old 02-27-2005, 02:57 AM   #6
qtbb
LQ Newbie
 
Registered: Feb 2005
Location: UK
Distribution: Ubuntu Debian
Posts: 5

Rep: Reputation: 0
here is what you need

go to this page: http://java.sun.com/j2se/1.4.2/download.html

choose: Download J2SE SDK for Other Platforms

accept licence agreement

after installation, should be in directory like this: /usr/java/j2re1.4.1_07/
(or 'whereis j2re' )

(i met same problem before.i tried to link java that already got installed on my machine, didn't work well. so i did what i said above, and it works and need not make link manually.)

Last edited by qtbb; 02-27-2005 at 03:07 AM.
 
  


Reply



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
Azureus viciadoemlinux Linux - Software 3 12-02-2005 10:13 PM
Azureus +firewall: UDP-discovery drop packetsport 8008 alt_http What is Azureus doing Emmanuel_uk Linux - Networking 0 08-31-2005 06:06 AM
Azureus lostdata Linux - Software 6 08-24-2005 12:52 AM
Azureus lostdata Linux - Software 2 08-20-2005 07:14 AM
azureus installed..azureus script can be moved? nixel Slackware 1 05-22-2004 10:22 PM

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

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