FedoraThis forum is for the discussion of the Fedora Project.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Have you tested your java installation to make sure it works?
If you start it from a konsole, what errors do you receive? Cut and paste them here.
Yes of sure...
Netbeans runs well on my Linux box...
Code:
sblantipodi:~/LimeWire$ sh ./runLime.sh
: command not found5:
: No such file or directory
: command not found9:
: command not found23:
'/runLime.sh: line 24: syntax error near unexpected token `
'/runLime.sh: line 24: `look_for_java()
sblantipodi:~/LimeWire$
I think the problem is that there are weird ^M characters (though they're invisible) in runLime.sh. If you open the file with a text editor and copy all the contents to a new file and run the new script, it should be OK.
I have to agree with NYLEX, it looks like your runLime.sh file may be messed up. Here are the lines from mine where th e script looks for java, looks like yours is dead at line 24.
Code:
MSG11="Java exec found in PATH. Verifying..."
look_for_java()
{
JAVADIR=/usr/lib
if look_for_javaImpl ; then
return 0
fi
JAVADIR=/usr/java
if look_for_javaImpl ; then
return 0
fi
JAVADIR=/opt
if look_for_javaImpl ; then
return 0
fi
return 1
}
look_for_javaImpl()
{
IFS=$'\n'
potential_java_dirs=(`ls -d1 "$JAVADIR"/j* | sort | tac`)
for D in "${potential_java_dirs[@]}"; do
if [[ -d "$D" && -x "$D/bin/java" ]]; then
JAVA_PROGRAM_DIR="$D/bin/"
echo $MSG2 $JAVA_PROGRAM_DIR
if check_version ; then
return 0
fi
fi
done
echo $MSG8 "${JAVADIR}/" $MSG9 ; echo $MSG4
return 1
}
Note, there is an extra character shown on your post on line 24. ( look_for_javaImpl() )
It might be faster to delete your installation, and re-run the installer.
I cut and paste runLime.sh to delete ^M characters.
Now it seems to be better but:
Code:
sblantipodi:~/LimeWire$ sh ./runLime.sh
Starting LimeWire...
Java exec found in PATH. Verifying...
Suitable java version found [java = 1.6.0_02]
Configuring environment...
Loading LimeWire:
Unable to access jarfile LimeWire.jar
******************************************************************
Something went wrong with LimeWire.
Maybe you're using the wrong version of Java?
(LimeWire is tested against and works best with with Sun's JRE, Java 1.5+)
The version of Java in your PATH is:
java version "1.6.0_02"
Java(TM) SE Runtime Environment (build 1.6.0_02-b05)
Java HotSpot(TM) Client VM (build 1.6.0_02-b05, mixed mode, sharing)
sblantipodi:~/LimeWire$
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.