View Single Post
  #3 (permalink)  
Old August 16th, 2007
Snapafun's Avatar
Snapafun Snapafun is offline
User
 
Join Date: August 12th, 2007
Location: NewZealand
Posts: 4
Snapafun is flying high
Default

Don't appear to see the 'r' problem:

#!/bin/bash/
#
# Runs LimeWire. This script must be executed in your LimeWire
# install directory.

# this should allow starting limewire from
# gui-based explorer interfaces
cd "`dirname "$0"`"

# try to discover java
MSG0="Loading LimeWire:"
MSG1="Starting LimeWire..."
MSG2="Java exec found in "
MSG3="OOPS, your java version is too old "
MSG4="You need to upgrade to JRE 1.5.x or newer from http://www.java.com"
MSG5="Suitable java version found "
MSG6="Configuring environment..."
MSG7="OOPS, you don't seem to have a valid JRE. LimeWire works best with Sun JRE available at java.com: Hot Games, Cool Apps "
MSG8="OOPS, unable to locate java exec in "
MSG9=" hierarchy"
MSG10="Java exec not found in PATH, starting auto-search..."
MSG11="Java exec found in PATH. Verifying..."

look_for_java()
{
JAVADIR=/usr/lib/jvm
if look_for_javaImpl ; then
return 0
fi
JAVADIR=/usr/lib
if look_for_javaImpl ; then
return 0
fi
JAVADIR=/usr/java
if look_for_javaImpl ; then
return 0

So any other ideas ?
Reply With Quote