LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Azureus.... (https://www.linuxquestions.org/questions/linux-software-2/azureus-286722/)

DeeCver 02-05-2005 06:33 PM

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

MikeOliveri 02-05-2005 06:49 PM

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

stonecrest 02-05-2005 07:34 PM

You could also do

Code:

JAVA_PROGRAM_DIR="/usr/local/java"

elluva 02-06-2005 02:09 AM

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...

ariadne 02-26-2005 09:43 AM

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

qtbb 02-27-2005 02:57 AM

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.)


All times are GMT -5. The time now is 03:28 AM.