well after abit of looking round I decided in trying this to solve my porblem.
I added sh script to /etc/local/profile.d
#!/bin/sh
echo "Starting Java..."
export PATH="/usr/java/jre/bin":$PATH
echo "Done..."
# and saved it as java.sh
# still have to run LimeWire with
sh runLime.sh
# in LimeWire directory |