Click to See Complete Forum and Search --> : java installation


raheimsg
12-08-2002, 03:53 AM
i downloaded limewire, except it said i needed a jvm when i tried to install it, so idownloaded j2re, except now it still has the same message...whats up?

TreeHugger
12-08-2002, 08:23 AM
you need to put the j2re-xxx/bin directory in your PATH envvar.

If you use bash, edit your .bash_profile

raheimsg
12-08-2002, 12:51 PM
i'm a really big newbie,how doi do this?

TreeHugger
12-08-2002, 12:56 PM
You have to open your .bash_profile file from your home directory in an editor.

See if there's the following statement anywhere in the file:

export PATH

If so, on the line before it, put this

PATH=$PATH:/the/path/to/my/javavm


If there's no export PATH, go to the end and put the line above and then

export PATH

and save!


Oh, of course replace /the/path/to/my/jvm with the real path.

If you don't know where it is, it's probably under

/usr/java

somewhere.

raheimsg
12-16-2002, 11:49 AM
this doesn't work, I've tried editing the .bash_profile for my user andy,
tried adding
/usr/java/j2re1_4_01/
or
/usr/java/j2re1_4_01/bin
and then when i try and install LimeWireLinux.bin
and it still says it can't find the jvm
i don't think this is it

raheimsg
12-16-2002, 11:49 AM
I would be satisfied in installing gift, if there was a tutorial on how to because the instructions on the site are way too confusing for me.

TreeHugger
12-16-2002, 12:24 PM
hmmm. I don't know gift, but I did get limewire up and running on my linux box no problem.

Just to make sure, go to a prompt and type

echo $PATH

to check that the correct path to the jre bin directory is there.

Also to check, at the prompt in your shell (this is all in X assuming you logged on as andy) type:

java_vm

and it should give you something, anything, as long as it's not "file not found"

As I said, it works for me.

Oh, of course you've got to log out and back in again for the change to take effect.

Hayl
12-16-2002, 12:30 PM
post your ~/.bash_profile

raheimsg
12-16-2002, 01:20 PM
alright, i didn't try and restart it... side topic, how do you make the console transparent.

I have a clean install of kde using icewm window manager