View Full Version : FrostWire won't start
Artemis3
November 16th, 2006, 12:28 PM
If you follow the instructions in the guide, FrostWire won't start and will show the error: runFrost.sh: 44: Syntax error: "(" unexpected (expecting "}")
There seems to be a problem with the init scripts, perhaps the text format; but dash doesn't like it so a quick fix is to edit /usr/bin/frostwire and use bash instead of sh to load runFrost.sh:
#!/bin/bash
cd /usr/lib/frostwire
bash runFrost.sh
So unless this problem gets fixed in the package, these instructions should be added to the guide.
mips
November 16th, 2006, 12:42 PM
Stupid question but did you install Java ?
woedend
November 16th, 2006, 12:45 PM
did you try just seeing what the problem was in the shell script indicated and fixing that?
but i suppose if using bash works, it works.
ciscosurfer
November 16th, 2006, 12:46 PM
This isn't a Java error, it's a shell error. Frostwire/Limewire doesn't like Dash.
todoporron
November 21st, 2006, 12:13 PM
This solved the problem... It is curious, but Frostwire wouldn't start after upgrading to Edgy. Anyway, this procedure fixed the problem. Thanks a lot Artremis3
zorrito
November 24th, 2006, 01:05 PM
changed to bash but problem remains the same....
somebody else has again this problem?
hy
gubatron
November 27th, 2006, 11:12 AM
Please upgrade to 4.13.1 (http://peercommons.com/frostwire/4.13.1/frostwire-4.13.1.i586.deb)
Info on what's new and how to install here:
http://www.frostwire.com/blog/2006/11/21/try-frostwire-413-ubuntu-installer-now-with-bittorrent/
mad chey
April 11th, 2007, 12:29 PM
I have the latest version of Frostwire, and am running ubuntu dapper drake (fully up to date)
the installation seemed to go fine, but when i try to run frostwire, the logo screen comes up then disappears, and thats all it does, havent been able to run frostwire at all
my husband is also running ubuntu dapper and he tried to get it working on his pc but he only got as far as the main screen opening then it disappears.
we have tried uninstalling and then reinstalling to no avail, also we have installed via Automatix2 and straight fromt the web, still no improvement.
Does anyone have any ideas?
Oh and i checked for that bash thing and mine says it already so im assuming thats an old problem.
thanks
chey
DERV
April 12th, 2007, 08:02 AM
OK, I just tried to install Frostwire this morning (albeit on Linux Mint, but it's basically Ubuntu underneath). I had the same problems (running $ frostwire in terminal said that Java was too old), and Frostwire works perfectly now that I did the following:
Open Synaptic (software manager) and search for "java". Uninstall ALL java apps listed except the OpenOffice stuff etc. Basically if it begins "java" or "sun" - uninstall it :)
Then, close down back to the desktop.
If Frostwire's menu entry doesn't work (Frostwire doesn't open when you click it), or it has no icon, you need to get into Menu Layout to change how Frostwire launches. I'm not sure how this works in Ubuntu (anyone?) but in Mint when I need to edit the menu I click the menu and go to "Control Center" and then "Desktop" and "Menu Layout".
You need to edit Frostwire's entry (right click it and choose "Properties") in the main menu so that the launch command is:
/usr/lib/frostwire/runFrostwire.sh
You can also download a png image icon for frostwire (go to images.google.com and search Frostwire for a nice blue Frostwire icon to save). Then in the same properties dialog, click "no icon" and choose the saved location of your new icon, to place a nice shiny blue badge in the start menu for Frostwire :)
Then click close.
Next, we need to open a terminal and type:
gksudo gedit /usr/bin/frostwire
Enter your admin password, and when the config file opens, delete the line of code (the only one) and add this instead:
bash /usr/lib/frostwire/runFrostwire.sh
You will notice that you have changed the path from /usr/bin to /usr/lib. This is ok, as Frostwire actually lives in /usr/lib and this causes some problems. Click SAVE to save the config file, close the config file, and then hit CTRL+D twice to close terminal.
Ok. Now you should be back to the desktop. Reopen Synaptic and search for "java6" (all one word). This should bring up Sun Java 6 (rather than the default 1.4 version installed before). Choose to install everything except the Java Docs and click apply.
Now log out and back in again. You SHOULD now be able to run Frostwire - worked for me :D If I forgot anything, or this doesn't work for you, I'll TRY to help you out. I'm no linux guru so don't get your hopes up, however I can say that Frostwire now works on my machine, so hopefully... :)
Cheers,
Lee
mad chey
April 15th, 2007, 02:47 PM
:
Open Synaptic (software manager) and search for "java". Uninstall ALL java apps listed except the OpenOffice stuff etc. Basically if it begins "java" or "sun" - uninstall it :)
when chose to uninstal java-common it came up that it would auto uninstal frostwire with it
followed rest of your guide tho and it seemed promising at first as it got past the initial logo screen, but it then got to the bit where it asks you to give a unique name for chat, well do that and click ok and very very briefly a box opens up saying about some changes applying after next reboot and then it all just shuts down, run it again and it does exactly as before
DERV
April 15th, 2007, 03:11 PM
Apply the changes for removing java-common (and automatically, frostwire). Then install sun-java-5 (or 6) and THEN try to reinstall frostwire using the steps I outlined above. You shouldn't have any further trouble. Good luck :)
mad chey
April 15th, 2007, 04:03 PM
did the last bit that this guy suggested and works lurvely
http://ubuntuforums.org/showthread.php?p=2458663#post2458663
sleepyjon
April 28th, 2007, 12:39 AM
OK, I just tried to install Frostwire this morning (albeit on Linux Mint, but it's basically Ubuntu underneath). I had the same problems (running $ frostwire in terminal said that Java was too old), and Frostwire works perfectly now that I did the following:
Open Synaptic (software manager) and search for "java". Uninstall ALL java apps listed except the OpenOffice stuff etc. Basically if it begins "java" or "sun" - uninstall it :)
Then, close down back to the desktop.
If Frostwire's menu entry doesn't work (Frostwire doesn't open when you click it), or it has no icon, you need to get into Menu Layout to change how Frostwire launches. I'm not sure how this works in Ubuntu (anyone?) but in Mint when I need to edit the menu I click the menu and go to "Control Center" and then "Desktop" and "Menu Layout".
You need to edit Frostwire's entry (right click it and choose "Properties") in the main menu so that the launch command is:
/usr/lib/frostwire/runFrostwire.sh
You can also download a png image icon for frostwire (go to images.google.com and search Frostwire for a nice blue Frostwire icon to save). Then in the same properties dialog, click "no icon" and choose the saved location of your new icon, to place a nice shiny blue badge in the start menu for Frostwire :)
Then click close.
Next, we need to open a terminal and type:
gksudo gedit /usr/bin/frostwire
Enter your admin password, and when the config file opens, delete the line of code (the only one) and add this instead:
bash /usr/lib/frostwire/runFrostwire.sh
You will notice that you have changed the path from /usr/bin to /usr/lib. This is ok, as Frostwire actually lives in /usr/lib and this causes some problems. Click SAVE to save the config file, close the config file, and then hit CTRL+D twice to close terminal.
Ok. Now you should be back to the desktop. Reopen Synaptic and search for "java6" (all one word). This should bring up Sun Java 6 (rather than the default 1.4 version installed before). Choose to install everything except the Java Docs and click apply.
Now log out and back in again. You SHOULD now be able to run Frostwire - worked for me :D If I forgot anything, or this doesn't work for you, I'll TRY to help you out. I'm no linux guru so don't get your hopes up, however I can say that Frostwire now works on my machine, so hopefully... :)
Cheers,
Lee
I had the same problem at first, and that worked perfectly for me. Thank you.
jacob01
July 16th, 2007, 12:58 PM
yea i had the same problem when i switched from limewire to frostwire how i fixed it was i tried to run frostwire from the command line but it came up with an error and said i needed java runtime environment 1.5.x so i clicked on the link and went to the web page installed the shell script by saving the sh in the home directory and opening a terminal and type sh (name of java rte)
followed instructions and frost worked
i also had a problem with getting the right java rte to run since i had a problem uninstalling rte 1.4.x so i had to configure which rte to my system used
i wish i remembered the command but i remember i found it in these forums
i hope this helped
Maarten 50
July 24th, 2007, 01:48 PM
well i had the same problem. The problem is that Frostwire (the latest version) isnt compliant with sun-java6-jre. So dont install this, but install sun-java5.jre (and sun-java5-plugin)
After that Frostwire worked good.
:):)
Cybergod
August 3rd, 2007, 12:40 AM
well i had the same problem. The problem is that Frostwire (the latest version) isnt compliant with sun-java6-jre. So dont install this, but install sun-java5.jre (and sun-java5-plugin)
After that Frostwire worked good.
:):)
The latest version of frostwire can work with sun-java6-jre. All you have to do is edit runFrostwire.sh located in /usr/lib/frostwire.
Locate the code that looks like this:
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
And add this at the end:
JAVADIR=/usr/lib/jvm/java-6-sun-1.6.0.00
if look_for_javaImpl ; then
return 0
fi
vBulletin® v3.7.2, Copyright ©2000-2008, Jelsoft Enterprises Ltd.