PDA

View Full Version : How to install Frostwire aka LIMEWIRE PRO!



imdeemvp
28th March 2006, 12:00 PM
There is a new p2p for the opensource community and it is base on the popular Limewire and Limewire Pro. This new p2p is like limewire without the UPGRADE LATER to PRO version.

TIP: USE COPY AND PASTE! :D

1. You must install Java first so follow this how-to. (http://www.fedoraforum.org/forum/showthread.php?t=59385)

2. Download FrostWire "The free open source alternative." (http://www.frostwire.com/static/downloads.html)

3. Open terminal and become root and run the installation command:
rpm -ivh FrostWire-4.10.9-0.i586.rpm

4. Type:
frostwire and you will get this error:

[root@localhost imdeemvp]# frostwire
: command not found:
: No such file or directory
: command not found:
: command not found3:
'unFrost.sh: line 24: syntax error near unexpected token `
'unFrost.sh: line 24: `look_for_java()
[root@localhost imdeemvp]#

5. It's java related so in the terminal run this:
gedit /etc/profile.d/java.sh

6. Add this lines to the file:

export J2RE_HOME=/opt/jre1.5.0_06
export PATH=$J2RE_HOME/bin:$PATH CLICK ON SAVE to save the file.

7. In terminal issue this command:
source /etc/profile.d/java.sh hit [enter] and you will get this is output:
/opt/jre1.5.0_06/bin/java

Type:
/usr/sbin/alternatives --install /usr/bin/java java /opt/jre1.5.0_06/bin/java 2 hit [enter]

Type:
/usr/sbin/alternatives --config java hit [enter]
this is output:

There are 2 programs which provide 'java'.
Selection Command
-----------------------------------------------
*1 /usr/lib/jvm/jre-1.4.2-gcj/bin/java
+2 /opt/jre1.5.0_06/bin/java
Enter to keep the current selection[+], or type selection number:

Type: 2 and hit [enter]
Type:
/usr/sbin/alternatives --display java hit [enter]

this is output:
java - status is manual.
link currently points to /opt/jre1.5.0_06/bin/java
/usr/lib/jvm/jre-1.4.2-gcj/bin/java - priority 1420
slave rmiregistry: /usr/lib/jvm/jre-1.4.2-gcj/bin/rmiregistry
slave jre_exports: /usr/lib/jvm-exports/jre-1.4.2-gcj
slave jre: /usr/lib/jvm/jre-1.4.2-gcj
/opt/jre1.5.0_06/bin/java - priority 2
slave rmiregistry: (null)
slave jre_exports: (null)
slave jre: (null)
Current `best' version is /usr/lib/jvm/jre-1.4.2-gcj/bin/java.
You will be able to install and run java applications. WE ARE NOW DONE WITH THIS JAVA ISSUE AND YOU WILL STILL HAVE A FEW THINGS TO DO. FOLLOW THE INSTRUCTIONS GIVEN FROM 1-3.

8. In the terminal do the following which its a fix to frostwire not starting properly:

4.10.9 & Linux Fix

Using nano as root i opened the file, which was DOS format. This is what caused the problem. Instructions to correct the problem are given below.


DO THE FOLLOWING AS ROOT (OR SUDO) in a Terminal
=========================================

1) nano /usr/lib/frostwire/runFrost.sh

2) then save in nano CTRL+O

3) here you can hit ALT+D to change the format. Then hit enter to save the file.

Note:
make sure after hitting CTRL+O the filename it doesn't have [DOS Format] before it.

Frostwire should now work,

I wish the frostwire team would repack the DEB file, because everyone who downloads the latest frostwire (on linux) will have this issue.

Fix was posted @ the frostwire forum. (http://www.gnutellaforums.com/showthread.php?threadid=54814) IF YOU WANT TO SIMPLIFY YOUR LIFE INSTALL LIMEWIRE. (http://www.fedoraforum.org/forum/showthread.php?t=30867) ENJOY PEOPLE!

Marvelous
28th March 2006, 07:39 PM
Very useful worked from the first attempt.
Thanks alot i have been looking for a limewire pro alternative and you have shared an excellent howto.
Thanks again

Solo.Dev
28th March 2006, 08:46 PM
Wow :D ! worked great on the first go around! I had installed a java, but this is the newer form of java, so you have done me two favors!

imdeemvp
29th March 2006, 02:49 AM
Very useful worked from the first attempt.
Thanks alot i have been looking for a limewire pro alternative and you have shared an excellent howto.
Thanks again
It's just very nice.....

RedFedora
29th March 2006, 03:00 AM
Maybe I'm missing the point, but isn't LimeWire an open source project?

imdeemvp
29th March 2006, 03:08 AM
Maybe I'm missing the point, but isn't LimeWire an open source project?
I guess you need to read the about us: http://www.frostwire.com/static/about_us.html

imdeemvp
3rd April 2006, 04:30 AM
Windows version WORKS as good as LIMEwire PRO version.

Firewing1
8th April 2006, 06:29 PM
Hey,
Excellent, it's working GREAT! The only thing is that the bug is hard to follow (The way the instructions are worded) -- Here's what I had to do, step by step:

su -
nano /usr/lib/frostwire/runFrost.sh
It has [DOS FORMAT], so I hit:
< ALT + D >
Now [DOS FORMAT] is gone.
< CTRL + O >
That's "o" not zero.
Firewing1

imdeemvp
9th April 2006, 12:27 AM
I dont think it is a frostwire issue BUT fedora related. I had same issue with limewire but tchung helped out on that one so I also applied it to frostwire.

ljos
9th April 2006, 07:46 PM
Thanks for the info.

Here is an alternative fix to the runFrost.sh problem for those not familiar with nano.

cd /usr/lib/frostwire/
dos2unix runFrost.sh runFrost.sh

imdeemvp
9th April 2006, 10:50 PM
Thanks for tip provided I am sure it makes it easier for others.

KansasJoe
17th April 2006, 05:45 AM
someone just saved the file in windows when they packaged it...a lot easier way to get it to work is

su
dos2unix /usr/lib/frostwire/runFrost.sh

that's it, then in terminal type

frostwire

Firewing1
18th April 2006, 04:50 PM
Anyone else noticing although it's faster then LimeWire it freezes, then unfreezes, etc and Java is taking 100% CPU when downloading files?
Firewing1

imdeemvp
18th April 2006, 08:34 PM
Anyone else noticing although it's faster then LimeWire it freezes, then unfreezes, etc and Java is taking 100% CPU when downloading files?
Firewing1
Not me.....everything downloads OK and fast enough as limewire.....

Firewing1
18th April 2006, 09:36 PM
What are you hardware + software specs? I'm on Sun JRE 1.5.0_06, 32bit with a P4 1.9GHz
Firewing1

imdeemvp
19th April 2006, 01:55 AM
AMD Athlon XP 2800+ /DFI mobo
2gigs of ram
Nvidia 256mg fx

Firewing1
19th April 2006, 01:56 AM
That might be why -- I'm only on 256MB ram.
Firewing1

pavlicov
8th June 2006, 04:22 AM
I was able to follow the instruction till my comp outputs start to differ. I have RH4 installed:

I typed:

/usr/sbin/alternatives --config java

and got:


There are 3 programs which provide 'java'.

Selection Command
-----------------------------------------------
1 /usr/lib/jvm/jre-1.4.2-gcj/bin/java
*+ 2 /usr/lib/jvm/java-1.4.2-ibm-1.4.2.1/jre/bin/java
3 /opt/jre1.5.0_06/bin/java

Enter to keep the current selection[+], or type selection number:

I typed < 3 > and < enter >

then I typed:

/usr/sbin/alternatives --display java

and got:


java - status is manual.
link currently points to /opt/jre1.5.0_06/bin/java
/usr/lib/jvm/jre-1.4.2-gcj/bin/java - priority 1420
slave keytool: (null)
slave policytool: (null)
slave rmid: (null)
slave rmiregistry: /usr/lib/jvm/jre-1.4.2-gcj/bin/rmiregistry
slave tnameserv: (null)
slave jre_exports: /usr/lib/jvm-exports/jre-1.4.2-gcj
slave jre: /usr/lib/jvm/jre-1.4.2-gcj
slave javaws: (null)
/usr/lib/jvm/java-1.4.2-ibm-1.4.2.1/jre/bin/java - priority 1421
slave keytool: /usr/lib/jvm/java-1.4.2-ibm-1.4.2.1/jre/bin/keytool
slave policytool: /usr/lib/jvm/java-1.4.2-ibm-1.4.2.1/jre/bin/policytool
slave rmid: /usr/lib/jvm/java-1.4.2-ibm-1.4.2.1/jre/bin/rmid
slave rmiregistry: /usr/lib/jvm/java-1.4.2-ibm-1.4.2.1/jre/bin/rmiregistry
slave tnameserv: /usr/lib/jvm/java-1.4.2-ibm-1.4.2.1/jre/bin/tnameserv
slave jre_exports: /usr/lib/jvm-exports/java-1.4.2-ibm-1.4.2.1
slave jre: /usr/lib/jvm/java-1.4.2-ibm-1.4.2.1/jre
slave javaws: /usr/lib/jvm/java-1.4.2-ibm-1.4.2.1/jre/javaws
/opt/jre1.5.0_06/bin/java - priority 2
slave keytool: (null)
slave policytool: (null)
slave rmid: (null)
slave rmiregistry: (null)
slave tnameserv: (null)
slave jre_exports: (null)
slave jre: (null)
slave javaws: (null)
Current `best' version is /usr/lib/jvm/java-1.4.2-ibm-1.4.2.1/jre/bin/java.

I was able to follow the bug (using nano) quite successfully.

However, when I type again 'frostwire' I get following error:


Starting FrostWire...
Java exec not found in PATH, starting auto-search...
OOPS, unable to locate java exec in /usr/lib/ hierarchy
You need to upgrade to JRE 1.4.x or newer from http://www.java.com
ls: /usr/java/j*: No such file or directory
OOPS, unable to locate java exec in /usr/java/ hierarchy
You need to upgrade to JRE 1.4.x or newer from http://www.java.com
ls: /opt/j*: No such file or directory
OOPS, unable to locate java exec in /opt/ hierarchy
You need to upgrade to JRE 1.4.x or newer from http://www.java.com

Anyone can help me out? I very much appreciate your response.

Thetargos
8th June 2006, 07:15 AM
Set this:


3 /opt/jre1.5.0_06/bin/java

As your default JVM.

pavlicov
8th June 2006, 07:34 AM
I did not follow the steps exactly ! I skipped step #1 - now everything works - thanks again

pavlicov
8th June 2006, 07:36 AM
Set this:


3 /opt/jre1.5.0_06/bin/java

As your default JVM.
Thanks - I did that the first time around - but no wonder it did not work - the java was not installed there - thanks again :-)

Thetargos
8th June 2006, 07:38 AM
Ahh, you followed "too literally" the instructions, I see.

spfdz
27th June 2006, 05:00 PM
Where can I download the rpm for frostwire?

Thetargos
27th June 2006, 06:33 PM
You can try here (http://linux.softpedia.com/progDownload/FrostWire-Download-6084.html)

spfdz
27th June 2006, 07:09 PM
You can try here (http://linux.softpedia.com/progDownload/FrostWire-Download-6084.html)

So with RPM, it's not picky on the actual distro?
(ie, using mandrake rpm in FC5)

Thetargos
27th June 2006, 07:17 PM
You can always do rpm -ivh --test to see if it will work

spfdz
29th June 2006, 08:52 PM
I tried to install Frostwire, it said I had the lower version of Java (1.4)

I'm running x64, does that mean there's no chance on getting it working?

Thetargos
30th June 2006, 04:50 AM
Install a newer version and use alternatives to use the newer instead of the other... Follow one of all the Java HowTo's out there.s

rlevitin
8th July 2006, 04:32 AM
This is where I got the rpm from: (The exact rpm imdeemvp used, i dunno his source, but this should work for FC4/5, I think):
http://rpm.pbone.net/index.php3/stat/4/idpl/2667585/com/FrostWire-4.10.9-0.i586.rpm.html


Also, Firewing1, i'm having the resources issue. Its d/ling REALLY fast for me (120+ kb/s downloads, where Limewire was around 30kb/s max)... I have 1 gig RAM, but when I look at the resources being used... I'm using 100% CPU (1.8Ghz), 30% RAM, and 0 % SWAP with Frostwire, so I don't think its got to do with the RAM

scotta3234
8th July 2006, 06:12 AM
Yeah definitely glad to see other people are having some type of resource issues. I was going to post about frostwire being particularly slow and at times "choppy." The actual program works fine but it just seems to hang while selecting buttons or clicking on the searches that it found. Any ideas what's going on here?

Archie
8th July 2006, 08:25 AM
There is a new p2p for the opensource community and it is base on the popular Limewire and Limewire Pro. This new p2p is like limewire without the UPGRADE LATER to PRO version.

--snip--

3. Open terminal and become root and run the installation command:
rpm -ivh FrostWire-4.10.9-0.i586.rpm

--snip--

I am so sorry I must be dumb but there is no FrostWire-4.10.9-0.i586.rpm to be downloaded from the FrostWire website. I was able to download FrostWire-4.10.9-2.tar.gz though. Question. What do I do with the tarball?

Apologies for my ignorance.

[EDIT]
Okay, Thetargos pointed a link at Sofpedia. I will report back at a later time


Archie

Thetargos
8th July 2006, 10:23 AM
I am so sorry I must be dumb but there is no FrostWire-4.10.9-0.i586.rpm to be downloaded from the FrostWire website. I was able to download FrostWire-4.10.9-2.tar.gz though. Question. What do I do with the tarball?

Apologies for my ignorance.

[EDIT]
Okay, Thetargos pointed a link at Sofpedia. I will report back at a later time


Archie
For the tarball, assuming you have a working Sun Java installation (or any other java other than gcj's), just untar the tarball with:


tar jxf <file>.tar.bz2
or
tar zxf <file>.tar.gz

Then locate the launcher script, create a launcher in your desktop/panel for it, try it, enjoy it.

Archie
8th July 2006, 10:39 AM
Thanks, Thetargos. The RPM at Softpedia works. I did download the compressed file from FrostWire but did not see any RPM so I got stuck with imdeemvp's instructions. Thank you again.

Thetargos
8th July 2006, 05:46 PM
Good to know.

Thomas
28th August 2006, 01:15 PM
Hey guys,

When I'm in this step:



7. In terminal issue this command:
Code:

source /etc/profile.d/java.sh

hit [enter] and you will get this is output:
Quote:
/opt/jre1.5.0_06/bin/java


I get nothing :s What else can I do? All other is OK.

Thetargos
28th August 2006, 05:24 PM
Hey guys,

When I'm in this step:



I get nothing :s What else can I do? All other is OK.
As long as


/usr/sbin/alternatives --display java

shows the version of java you installed (f.e. /opt/jre1.5.0_06/bin/java priority 2), and


/usr/sbin/alternatives --config java

shows that the currently used Java runtime, you should be OK.

Personally I have no /etc/profile.d/java.sh file.

Thomas
30th August 2006, 01:45 PM
Yeah, it's the correct Java version... but for some reason still asks me:


[tomas@deathead limewire]$ frostwire
: No such file or directorysh
: command not found:
: No such file or directory
: command not found:
: command not found3:
'unFrost.sh: line 24: syntax error near unexpected token `
'unFrost.sh: line 24: `look_for_java()

I'm at loss here.. anyone?? :D

Thetargos
30th August 2006, 05:23 PM
Edit the runFrost.sh script and delete the '`' from the look_for_java() function. I remeber I had to edit this launcher script, just don't remember what I had to edit.

Thomas
5th September 2006, 01:31 PM
Meh... got it to work... but now I get a blank screen instead of buttons and stuff... bittorrent it is then :(
Screenshot: http://www.tupixel.com/images/tn_16u59382.jpg (http://www.tupixel.com/viewimage.php?file=/images/16u59382.png)

kikuman
7th September 2006, 04:35 AM
Meh... got it to work... but now I get a blank screen instead of buttons and stuff... bittorrent it is then :(
Screenshot: http://www.tupixel.com/images/tn_16u59382.jpg (http://www.tupixel.com/viewimage.php?file=/images/16u59382.png)
Thats known java/xgl/compiz bug, try
export AWT_TOOLKIT=MToolkit
./runFrost.sh


it didnt worked for me with LimeWire/Frostwire but worked with Netbeans, :D :confused:

gotmonkey
22nd September 2006, 01:38 PM
Thanks for the howto, it worked out well.


There is a new p2p for the opensource community and it is base on the popular Limewire and Limewire Pro. This new p2p is like limewire without the UPGRADE LATER to PRO version.

TIP: USE COPY AND PASTE! :D

1. You must install Java first so follow this how-to. (http://www.fedoraforum.org/forum/showthread.php?t=59385)

2. Download FrostWire "The free open source alternative." (http://www.frostwire.com/static/downloads.html)

3. Open terminal and become root and run the installation command:
rpm -ivh FrostWire-4.10.9-0.i586.rpm

4. Type:
frostwire and you will get this error:


5. It's java related so in the terminal run this:
gedit /etc/profile.d/java.sh

6. Add this lines to the file:
CLICK ON SAVE to save the file.

7. In terminal issue this command:
source /etc/profile.d/java.sh hit [enter] and you will get this is output:

Type:
/usr/sbin/alternatives --install /usr/bin/java java /opt/jre1.5.0_06/bin/java 2 hit [enter]

Type:
/usr/sbin/alternatives --config java hit [enter]
this is output:

Type: 2 and hit [enter]
Type:
/usr/sbin/alternatives --display java hit [enter]

this is output: WE ARE NOW DONE WITH THIS JAVA ISSUE AND YOU WILL STILL HAVE A FEW THINGS TO DO. FOLLOW THE INSTRUCTIONS GIVEN FROM 1-3.

8. In the terminal do the following which its a fix to frostwire not starting properly:


Fix was posted @ the frostwire forum. (http://www.gnutellaforums.com/showthread.php?threadid=54814) IF YOU WANT TO SIMPLIFY YOUR LIFE INSTALL LIMEWIRE. (http://www.fedoraforum.org/forum/showthread.php?t=30867) ENJOY PEOPLE!

ThePowerTool
19th January 2007, 07:11 AM
Hi! First Post! (here)

So I now understand what Frostwire is and am getting excited about it. Before I jump into Frostwire, I have one question with regards to the LimeWire client:

I run the LimeWire client on a Linux box. I have a separate firewall that was running RedHat 8 (or 7, I forget) which I recently upgraded to FC4. The big change being the move from ipchains to iptables.

My LimeWire client ran fine before the firewall upgrade. After the upgrade to FC4 I can't seem to get the client to connect no matter what I try. I tried making the rules very liberal and covering the appropriate ports. I tried disabling selinux.

My question: Is this a problem with the client? If yes then I'll head to Frostwire now. If no, I don't want to make my situation more difficult by changing clients when I have a firewall problem. If you need serious detail, I posted here: http://www.gnutellaforums.com/showthread.php?t=66137

I'm hoping someone very knowledgable will be posting to say the problem I am experiencing is related to java and the main reason to go to Frostwire and my problem will vanish with the change.... I just want a clue on how to proceed.

Thanks!!!

ThePowerTool
26th January 2007, 12:32 AM
Anyone there?

Thetargos
26th January 2007, 05:42 AM
About your firewall issue, have you set up any NAT rules?

ThePowerTool
26th January 2007, 06:02 AM
Yes, I have the standard masquerading line:
iptables -t nat -A POSTROUTING -o $EXTIF -j MASQUERADE

All of the systems on my private network connect to the Internet for web browsing and other applications (just fine though the firewall). The only issue I am aware of at this point is with the LimeWire client. As far as I have seen, other applications on that system communicate fine.

Is that enough detail? Let me know if you need more. I really appreciate the help.

Thetargos
26th January 2007, 06:17 AM
Well, that is not remotely enough. The rule you have will simply masquerade all traffic from the internal network to the external one, that's the universal "catch all" one. You will need to redirect the ports you want to a specific host inside your network, and you will require a rule per protocol too... Something similar to:



iptables -t nat -A PREROUTING -p tcp -m tcp -d 192.168.0.2 --dport 6340:6349
-j DNAT --to-destination 192.168.0.9
That rule should be pretty much self explainatory... you have always man iptables too ;)

My advise? Get a firewall script compiler, I personally used quite successfully Firewall Builder. Youc an even get a firewall init script that substitutes the iptables one, as a service.

ThePowerTool
26th January 2007, 07:17 AM
Hi, thanks for the follow-up. You are correct. I only posted the rule requested. I was hopeful when I saw your post. I was only port-forwarding 6346. I updated my firewall to forward 6340-6349 using:

iptables -A PREROUTING -t nat -i ppp+ -p tcp --dport 6340:6349 -j DNAT --to 192.168.1.52:6340-6349 -v

I normally use the -p for protocol vs. the -m for match. If that's a problem please let me know.

Even with this rule, my LimeWire client will not connect.

I'd drop my entire firewall script here but I'm worried that that might be a problem from a security standpoint.

Any help sincerely appreciated.

Thetargos
26th January 2007, 05:23 PM
I know this might sound a bit (or a LOT) silly, but your host client has the ports open, I assume?

And, you may require to run a capture on the traffic on your router with ethereal to fully see what's going on.

ThePowerTool
26th January 2007, 10:08 PM
The client is currently not running a firewall--

iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

I have pretty-much eliminated the main firewall as an issue by installing LimeWire on a peer computer on the private network. The peer computer runs W2kAE and the LW install ran flawlessly. I'm able to search, dl, and share files with no firewall modifications.

I believe this isolates the problem to the Linux client. I think my next step, now that I've verified the local firewall on the client is set to ACCEPT for all incoming packets, is to remove and re-install LW. Anyone have any other thoughts?

Thanks!!!

Thetargos
27th January 2007, 12:16 AM
Wow... now that's a criptic problem... Java related maybe? What version of Java do you have on the Linux client? A long shot, but I can't think of anything else, much less when another peer on the same network has no problems with your router/firewall.

ThePowerTool
27th January 2007, 09:30 AM
Java version "1.5.0_06"
- as reported by LW

And a quick check from command line yields:

java -version
java version "1.5.0_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode, sharing)

Thanks!

d347hm4n
27th January 2007, 01:17 PM
Well i installed it and have java already setup, which it found correctly, fixed the dos2unix bug, but i get this when i run frostwire as alex in a terminal

frostwire
Starting FrostWire...
Java exec found in PATH. Verifying...
Suitable java version found [java = 1.6.0]
Configuring environment...
Loading FrostWire:
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
at sun.awt.X11GraphicsEnvironment.access$100(X11Graph icsEnvironment.java:52)
at sun.awt.X11GraphicsEnvironment$1.run(X11GraphicsEn vironment.java:155)
at java.security.AccessController.doPrivileged(Native Method)
at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:131)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvir onment(GraphicsEnvironment.java:68)
at sun.awt.X11.XToolkit.<clinit>(XToolkit.java:91)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
at java.awt.Toolkit$2.run(Toolkit.java:836)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:82 8)
at com.limegroup.gnutella.gui.Main.showInitialSplash( Main.java:67)
at com.limegroup.gnutella.gui.Main.main(Main.java:39)

************************************************** ****************
Something went wrong with FrostWire.
Maybe you're using the wrong version of Java?
(FrostWire is tested against and works best with with Sun's JRE, Java 1.4+)
The version of Java in your PATH is:
java version "1.6.0"
Java(TM) SE Runtime Environment (build 1.6.0-b105)
Java HotSpot(TM) Client VM (build 1.6.0-b105, mixed mode, sharing)


Doesn't like X11, any ideas anyone?

Thetargos
28th January 2007, 07:22 AM
Java version "1.5.0_06"
- as reported by LW

And a quick check from command line yields:

java -version
java version "1.5.0_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode, sharing)

Thanks!
I'm currently running 1.5.0.10, and was running just fine with 1.5.0.09

ThePowerTool
29th January 2007, 04:45 PM
I'm currently running 1.5.0.10, and was running just fine with 1.5.0.09

I'll get upgraded in case there's a fix and see what happens. I'll post when that's completed. Shouldn't be too long.

Thanks!!

ThePowerTool
29th January 2007, 07:10 PM
OK, completed the upgrade to SUN Java 1.5.0_10 successfully.

Now I have new information to work with:

I launched LW as usual (su - to root, cd to /root/LimeWire, sh ./runLime.sh). It didn't connect, as before (1 green bar, the rest red). When I stopped LW I received a very generic error. Here are the details:

sh ./runLime.sh
Starting LimeWire...
Java exec found in PATH. Verifying...
Suitable java version found [java = 1.5.0_10]
Configuring environment...
Loading LimeWire:

(note: at this poing the GUI launches, attempts to connect, other than failing to connect appears normal. When I close the GUI, I see the text that follows)

*********************************************
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.4+)
The version of Java in your PATH is:
java version "1.5.0_10"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_10-03)
Java HotSpot(TM) Client VM (build 1.5.0_10-b03, mixed mode, sharing)

I'm *really* trying to avoid packet sniffing because it would be a pain for me to set up. Any ideas?

Thanks again! I really appreciate your working through this with me.

Thetargos
29th January 2007, 08:18 PM
why are u runnung it as root? Java is very insecure as it is, let alone run it as root...

In any case, you are running a 32-bit system, right? So no confusion about which VM you are running, I assume?

ThePowerTool
29th January 2007, 08:53 PM
OK, you caught me. I *was* running it as root. I moved /root/LimeWire to my home dir, changed the ownership and permissions as appropriate, and am *now* running under my ID, not the root ID. I am in the process of hardening my firewall and network a bit more (yes, I've been slack in the past).

Sadly, it didn't change anything. I still get the exact same results as above.

I am running on a 32-bit OS. More details -

uname -a
Linux t30.myname.com 2.4.18-14 #1 Wed Sep 4 13:35:50 EDT 2002 i686 i686 i386 GNU/Linux

Another point of information -- I thought this box was FC4 but I was wrong. It's much older than that.

cat /etc/redhat-release
Red Hat Linux release 8.0 (Psyche)


Thanks!

Thetargos
30th January 2007, 06:08 AM
Hmm... This certainly looks quite strange, I must admit. Recapitulating, from what I understand, the GUI does run, but the program simply can't connect, right? And this is with LimeWire or FrostWire? How did you install it?

ThePowerTool
30th January 2007, 05:20 PM
Correct. The GUI comes up but cannot connect.

Yes, LimeWire. My original question was about moving to Frostwire and my concern that the problem might follow me across the move.

Thetargos
30th January 2007, 09:16 PM
Well, you can have them both installed concurrently and see which works better for you, I may suggest you update Lime/FrostWire to the latest version and see what happens.

ThePowerTool
31st January 2007, 12:22 AM
OK, updated to 4.12.11. Sadly, no changes.

wutbox
30th July 2007, 07:18 AM
I have looked for help in a few places and can't find much that my mediocre skills can understand. I saw your tutorial and maybe you know what to do. I have a couple different versions of Java installed i think. Here is the code I get when I type "frostwire" in the terminal:


]$ frostwire
Starting FrostWire...
Java exec found in PATH. Verifying...
OOPS, you don't seem to have a valid JRE. FrostWire works best with Sun JRE available at http://www.java.com
OOPS, unable to locate java exec in /usr/lib/ hierarchy
You need to upgrade to JRE 1.5.x or newer from http://www.java.com
Java exec found in /usr/java/jre1.6.0_02/bin/
Suitable java version found [/usr/java/jre1.6.0_02/bin/java = 1.6.0_02]
Configuring environment...
Loading FrostWire:
java.lang.UnsatisfiedLinkError: /usr/java/jre1.6.0_02/lib/i386/motif21/libmawt.so: libXp.so.6: cannot open shared object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.load0(Unknown Source)
at java.lang.System.load(Unknown Source)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at sun.security.action.LoadLibraryAction.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Toolkit.loadLibraries(Unknown Source)
at java.awt.Toolkit.<clinit>(Unknown Source)
at com.limegroup.gnutella.gui.Main.showInitialSplash( Main.java:67)
at com.limegroup.gnutella.gui.Main.main(Main.java:39)

/usr/java/jre1.6.0_02/bin/
************************************************** ****************
Something went wrong with FrostWire.
Maybe you're using the wrong version of Java?
(FrostWire is tested against and works best with with Sun's JRE, Java 1.4+)
The version of Java in your PATH is:
java version "1.5.0"
gij (GNU libgcj) version 4.1.2 20070502 (Red Hat 4.1.2-12)

I don't know what to do. Frostwire worked before I installed some newer version. How do I uninstall the newer Java? Anyway, any help would be awesome and so much appreciated. Thanks.

Thetargos
30th July 2007, 08:36 AM
man alternatives

Long explanation made short, you'll have to remove the Java version which is not working with it, and install the version you know works with it. Use the alternatives method for installing/uninstalling Java found at many Fedora reference sites (Stanton Finely's comes to mind).

wutbox
10th August 2007, 07:24 AM
I am having a really hard time with making Frostwire work with any version of Java I try. I don't care if it is outdated, but will somebody tell me EXACTLY which version of JRE I can use that for sure works? I would really appreciate it. I would also like to know how to add it as a plugin in Firefox. Thanks.

FriedChips
19th September 2007, 02:23 AM
I am having the exact same problem as the OP and I followed the alternatives thing in the first post...


/usr/sbin/alternatives --display java


link currently points to /opt/jre1.5.0_12/bin/java
/usr/lib/jvm/jre-1.5.0-gcj/bin/java - priority 1500
slave keytool: /usr/lib/jvm/jre-1.5.0-gcj/bin/keytool
slave rmiregistry: /usr/lib/jvm/jre-1.5.0-gcj/bin/rmiregistry
slave jre_exports: /usr/lib/jvm-exports/jre-1.5.0-gcj
slave jre: /usr/lib/jvm/jre-1.5.0-gcj
/opt/jre1.5.0_12/bin/java - priority 2
slave keytool: (null)
slave rmiregistry: (null)
slave jre_exports: (null)
slave jre: (null)
Current `best' version is /usr/lib/jvm/jre-1.5.0-gcj/bin/java.

Could it be that the update 12 version of java is broken?

Thetargos
19th September 2007, 06:56 AM
It could very well be it... Have you tried 1.6? (I have not)

SpEcIeS
8th October 2007, 03:15 PM
jre1.6.0_02 works fine, but you have to install the libXp package.

If you use sudo then:


sudo yum install libXp
Hope this helps you out. :)