On Thu, 27 Dec 2001 15:47:24 +0100
Michael Dannhorn <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> I try to install 'Limewire' on my LM 8.1.
> 
> There I get this message:
> 
> # sh 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 downloaded jre1.3.1 from sun and installed it with rpm -i .
> 
> Who could me help to set up 'jre' in a correct way?
> 

<snip>

im using the java sdk but the principle is the same so this might work but your 
mileage might vary.


issue rpm -ql on the jre package to get a list of all files installed in your system. 
take note of the directories named /usr/../bin and /usr/../lib.

now add the path of the bin to your PATH. i usually add it to the $HOME/.bashrc but i 
always get 'corrected' that the correct place to put it is in the $HOME/.bash_profile 
so i have this in my .bash_profile


export JAVA_HOME=/usr/java/jdk1.3.1/
export CLASSPATH=.:$JAVA_HOME/lib
PATH=$OLDPATH:$JAVA_HOME/bin
export PATH

you can substitute the jre directory as the value contained in JAVA_HOME. there are 
some instances (especially with older jre and sdk) when you have to specify in the 
classpath the zipped class file. if that is the case just look into the lib directory 
for classes.zip (version 1.1.x)or tools.jar (1.2.x or greater) and add it to the 
classpath.

export CLASSPATH=.:$JAVA_HOME/lib/classes.zip  #replace with tools.jar if it is what 
you have.


give the list a holler if things are still not going right for you.

ciao!


-- 

"Programming, an artform that fights back."

===============================

Anuerin G. Diaz
Design Engineer
25/F Equitable-PCI Tower
ADB Ave. cor. Poveda St.,
Ortigas Center, Pasig City,
Philippines 1605

Tel no: (632) 6383070 loc 75
===============================

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to