LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 08-26-2007, 06:02 AM   #1
sblantipodi
Member
 
Registered: May 2006
Distribution: Latest CentOS
Posts: 151

Rep: Reputation: 15
LimeWire won't start on F7...


Hi,
have you got the same problem?

I cannot start LimeWire in F7 using sh ./runLime.sh
 
Old 08-26-2007, 06:22 AM   #2
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,233

Rep: Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860
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.
 
Old 08-26-2007, 06:26 AM   #3
sblantipodi
Member
 
Registered: May 2006
Distribution: Latest CentOS
Posts: 151

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by camorri View Post
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$
 
Old 08-26-2007, 06:33 AM   #4
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
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.
 
Old 08-26-2007, 08:54 AM   #5
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,233

Rep: Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860
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.
 
Old 08-26-2007, 09:41 AM   #6
sblantipodi
Member
 
Registered: May 2006
Distribution: Latest CentOS
Posts: 151

Original Poster
Rep: Reputation: 15
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$
thanks for your help.
 
Old 08-26-2007, 02:26 PM   #7
sblantipodi
Member
 
Registered: May 2006
Distribution: Latest CentOS
Posts: 151

Original Poster
Rep: Reputation: 15
Ok, I solved with this simple command:
dos2unix runLime.sh
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Limewire won't start! mikegorb Linux - Software 4 03-20-2007 10:45 AM
Limewire wont start anymore! phlppmrtns5 Linux - Software 1 01-15-2007 11:48 PM
Limewire won't start/out of memory error Antarctica Linux - Software 1 09-29-2006 01:41 PM
Limewire crashes at start-up blastradius Linux - Software 3 12-21-2005 06:50 AM
limewire is installed but wont start... Vid Linux - Software 5 03-29-2004 11:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 12:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration