Click to See Complete Forum and Search --> : I need Serious HELP with installin LimeWire


MoreRockin
10-21-2003, 05:25 PM
I can't figure this out at all. I need some serious baby steps on installing it. Here's whats happende so far. Keep in mind that I am virgin to Linux:

./LimeWireLinux.bin
Preparing to install...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...
No Java virtual machine could be found from your PATH
environment variable. You must install a VM prior to
running this program.

So I go out and dload this:

j2sdk-1_4_2-nb-3_5_1-bin-linux.bin

And next I did this:

./j2sdk-1_4_2-nb-3_5_1-bin-linux.bin

And I installed it here:

/home/myusername/J2sdk_nb

The Java thing is now installed . . . . . but the end result is what I first posted . . this problem right here:

./LimeWireLinux.bin
Preparing to install...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...
No Java virtual machine could be found from your PATH
environment variable. You must install a VM prior to
running this program.

I have no idea what to do from here. Please help!

MoreRockin

Hayl
10-21-2003, 05:31 PM
there are _many_ posts on how to set up java properly already.
search the forums and you will find instructions.

ph34r
10-21-2003, 05:32 PM
You need to include the path to ..../java/bin in your $PATH. Also, setting $JAVA_HOME to point to the top level directory will help.

SuperNoob
12-29-2003, 01:00 PM
How? I did a search of the forums for path and java and java path. Didnt find anything helpful. As the name implies I am a Supernoob and dont knwo the commands at the prompt change/move files and paths.

So how exactly would one...include the path to ..../java/bin in your $PATH?

or

set $JAVA_HOME to point to the top level directory?


:D Aint rookies a pain :D

pushback
12-29-2003, 08:56 PM
Your need to also set your CLASSPATH to $JAVA_HOME/lib/tools.jar

voidinit
12-29-2003, 09:55 PM
you@yourhost:~#export PATH=$PATH:/home/myusername/j2sdk_nb/bin
you@yourhost:~#export JAVA_HOME=/home/myusername/j2sdk_nb/
you@yourhost:~#export CLASSPATH=$JAVA_HOME/src.zip:./
you@yourhost:~#updatedb
wait for a long time
you@yourhost:~#for i in `locate .jar | grep /home/myusername/j2sdk_nb/lib`; do export CLASSPATH=$CLASSPATH:$i; done

That should set up your java environment correctly. Now install limewire.

Also note the `s in `locate .jar | grep /home/myusername/j2sdk_nb/lib` are backticks (shift + tilde).

This can easily be put in your .bashrc, .bash_profile, or you can enable it for all users by putting a script with the above contents in /etc/profile.d/

SuperNoob
12-30-2003, 09:28 AM
I did some more intense searching which helped a lot.

Thanks Void and everyone else.














Operating Systems are confusing!