you'll need to export that install path of java.
you could do that a couple of ways. i'm partial to editing the /etc/profile file and using pathmunge after setting a JAVA_HOME variable.
here's a copy of my /etc/profile
Code:
# /etc/profile
# System wide environment and startup programs, for login setup
# Functions and aliases go in /etc/bashrc
pathmunge () {
if ! echo $PATH | /bin/egrep -q "(^|:)$1($|:)" ; then
if [ "$2" = "after" ] ; then
PATH=$PATH:$1
else
PATH=$1:$PATH
fi
fi
}
# Path manipulation
if [ `id -u` = 0 ]; then
pathmunge /sbin
pathmunge /usr/sbin
pathmunge /usr/local/sbin
fi
pathmunge /usr/X11R6/bin after
JAVA_HOME=/usr/java/j2sdk1.4.2_02
pathmunge $JAVA_HOME/bin after
export JAVA_HOME
INTEL_CPP=/usr/local/intel/compiler70/ia32
pathmunge $INTEL_CPP/bin after
export INTEL_CPP
KOMODO_HOME=/usr/local/Komodo-2.5
pathmunge $KOMODO_HOME after
export KOMODO_HOME
unset pathmunge
# No core files by default
ulimit -S -c 0 > /dev/null 2>&1
USER="`id -un`"
LOGNAME=$USER
MAIL="/var/spool/mail/$USER"
HOSTNAME=`/bin/hostname`
HISTSIZE=1000
if [ -z "$INPUTRC" -a ! -f "$HOME/.inputrc" ]; then
INPUTRC=/etc/inputrc
fi
export PATH USER LOGNAME MAIL HOSTNAME HISTSIZE INPUTRC
for i in /etc/profile.d/*.sh ; do
if [ -r "$i" ]; then
. $i
fi
done
unset i
it's 3 lines to add starting from "JAVA_HOME=/usr/java/j2sdk1.4.2_02" and ending with the "export JAVA_HOME". then all you should need to do is to logout and then login to reload the profile. you can test it by using the command in the shell terminal:
"java -version" with no quotes. if you get a command not found error, reboot the machine and try that command again. limewire should work fine.