Home | Bug Tracker | Wiki | Mailing Lists | Forums | Download  
   Username:  Password:  Signup
   
   Main Menu
· Home
· Search
· Site Stats
   Donate to Parsix
Help us to move faster and make a better system for you. Donations are highly appreciated.

Donations 2009: $ 0,00
   Search
   Bug Report
Help us to fix problems and defects. Please report bugs here.
   Online Users
Admin
No Online Admins
Members:Online
Members:Members:0
Guests:Guests:27
Total:Total:27
Online Members
No online members
   Sponsored Links



Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
arash-mOffline
Post subject: java problem with limewire or frostwire [solved]  PostPosted: Apr 25, 2008 - 05:44 AM



Joined: Mar 04, 2008
Posts: 40

Status: Offline
I can't run frostwire on viola. I have Java 1.6 on my system, but it can't recognize it. this is the output on the terminal:

Code:
Starting FrostWire...
Java exec found in PATH. Verifying...
Suitable java version found [java = 1.6.0]
Configuring environment...
Loading FrostWire:
Locking assertion failure.  Backtrace:
#0 /usr/lib/libxcb-xlib.so.0 [0xb5b05767]
#1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_unlock+0x31) [0xb5b058b1]
#2 /usr/lib/libX11.so.6(_XReply+0xfd) [0xb5099c9d]
#3 /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/i386/motif21/libmawt.so [0xb51f128e]
#4 /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/i386/motif21/libmawt.so [0xb5195b77]
#5 /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/i386/motif21/libmawt.so [0xb5195e28]
#6 /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/i386/motif21/libmawt.so(Java_sun_awt_X11GraphicsEnvironment_initDisplay+0x2f) [0xb519612f]
#7 [0xb5d2068e]
#8 [0xb5d18e9d]
#9 [0xb5d18e9d]
#10 [0xb5d16207]
#11 /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/i386/client/libjvm.so [0x620967d]
#12 /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/i386/client/libjvm.so [0x63057d8]
#13 /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/i386/client/libjvm.so [0x6209510]
#14 /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/i386/client/libjvm.so(JVM_DoPrivileged+0x34b) [0x625f38b]
#15 /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/i386/libjava.so(Java_java_security_AccessController_doPrivileged__Ljava_security_PrivilegedAction_2+0x3d) [0xb7d3196d]
#16 [0xb5d2068e]
#17 [0xb5d18d37]
#18 [0xb5d16207]
#19 /usr/lib/jvm/java-6-sun-1.6.0.00/jre/lib/i386/client/libjvm.so [0x620967d]
java: xcb_xlib.c:82: xcb_xlib_unlock: Assertion `c->xlib.lock' failed.
/usr/lib/frostwire/runFrostwire.sh: line 125:  7721 Aborted                 ${JAVA_PROGRAM_DIR}java -ea -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.NoOpLog -Djava.library.path=. $EXECUTABLE -jar FrostWire.jar $ARGUMENTS


******************************************************************
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)


Should I download Java 1.5?


Last edited by arash-m on May 08, 2008 - 05:03 PM; edited 1 time in total
 
 View user's profile Send private message  
Reply with quote Back to top
alanOffline
Post subject: RE: java problem with limewire or frostwire  PostPosted: May 06, 2008 - 11:42 PM
Developer
Developer


Joined: Jan 25, 2005
Posts: 341
Location: Glendale, California
Status: Offline
Maybe it's not compatible with Java 6, try apt-get install sun-java5-jre and remove your old java installation and see what happens.
 
 View user's profile Send private message Send e-mail Visit poster's website  
Reply with quote Back to top
arash-mOffline
Post subject: RE: java problem with limewire or frostwire  PostPosted: May 07, 2008 - 02:27 AM



Joined: Mar 04, 2008
Posts: 40

Status: Offline
I dont think so. This is the output with sun java 5:

Quote:
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.5.x or newer from http://www.java.com
ls: cannot access /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.5.x or newer from http://www.java.com
ls: cannot access /opt/j*: No such file or directory
OOPS, unable to locate java exec in /opt/ hierarchy
You need to upgrade to JRE 1.5.x or newer from http://www.java.com


Last edited by arash-m on May 07, 2008 - 02:28 AM; edited 1 time in total
 
 View user's profile Send private message  
Reply with quote Back to top
arash-mOffline
Post subject: Re: RE: java problem with limewire or frostwire  PostPosted: May 07, 2008 - 02:27 AM



Joined: Mar 04, 2008
Posts: 40

Status: Offline
I dont think so. This is the output with sun java 5:

Quote:
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.5.x or newer from http://www.java.com
ls: cannot access /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.5.x or newer from http://www.java.com
ls: cannot access /opt/j*: No such file or directory
OOPS, unable to locate java exec in /opt/ hierarchy
You need to upgrade to JRE 1.5.x or newer from http://www.java.com
 
 View user's profile Send private message  
Reply with quote Back to top
xet7Offline
Post subject: RE: Re: RE: java problem with limewire or frostwire  PostPosted: May 07, 2008 - 03:11 AM
Forum Moderator
Forum Moderator


Joined: Feb 20, 2008
Posts: 205
Location: Finland
Status: Offline
If you install java5, you should update paths to it as root:

Code:
update-java-alternatives -s java-1.5.0-sun


If you later go back to java6, then update paths again as root:

Code:
update-java-alternatives -s java-6-sun
 
 View user's profile Send private message Send e-mail Visit poster's website  
Reply with quote Back to top
arash-mOffline
Post subject: RE: Re: RE: java problem with limewire or frostwire  PostPosted: May 07, 2008 - 05:31 AM



Joined: Mar 04, 2008
Posts: 40

Status: Offline
I did that. but the result didn't change:

Code:
Starting FrostWire...
Java exec found in PATH. Verifying...
Suitable java version found [java = 1.5.0_14]
Configuring environment...
Loading FrostWire:
Locking assertion failure.  Backtrace:
#0 /usr/lib/libxcb-xlib.so.0 [0xb0a92767]
#1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_unlock+0x31) [0xb0a928b1]
#2 /usr/lib/libX11.so.6(_XReply+0xfd) [0xb0ad9c9d]
#3 /usr/lib/jvm/java-1.5.0-sun-1.5.0.14/jre/lib/i386/motif21/libmawt.so [0xb0c4b7ee]
#4 /usr/lib/jvm/java-1.5.0-sun-1.5.0.14/jre/lib/i386/motif21/libmawt.so [0xb0c00157]
#5 /usr/lib/jvm/java-1.5.0-sun-1.5.0.14/jre/lib/i386/motif21/libmawt.so [0xb0c002d3]
#6 /usr/lib/jvm/java-1.5.0-sun-1.5.0.14/jre/lib/i386/motif21/libmawt.so(Java_sun_awt_X11GraphicsEnvironment_initDisplay+0x26) [0xb0c00516]
#7 [0xb25a7c1b]
#8 [0xb25a1b3b]
#9 [0xb25a1b3b]
#10 [0xb259f219]
#11 /usr/lib/jvm/java-1.5.0-sun-1.5.0.14/jre/lib/i386/client/libjvm.so [0xb775a2bc]
#12 /usr/lib/jvm/java-1.5.0-sun-1.5.0.14/jre/lib/i386/client/libjvm.so [0xb786ef98]
#13 /usr/lib/jvm/java-1.5.0-sun-1.5.0.14/jre/lib/i386/client/libjvm.so [0xb775a0ef]
#14 /usr/lib/jvm/java-1.5.0-sun-1.5.0.14/jre/lib/i386/client/libjvm.so(JVM_DoPrivileged+0x32d) [0xb77b7b9d]
#15 /usr/lib/jvm/java-1.5.0-sun-1.5.0.14/jre/lib/i386/libjava.so(Java_java_security_AccessController_doPrivileged__Ljava_security_PrivilegedAction_2+0x3d) [0xb755530d]
#16 [0xb25a74bb]
#17 [0xb25a1a64]
#18 [0xb259f219]
#19 /usr/lib/jvm/java-1.5.0-sun-1.5.0.14/jre/lib/i386/client/libjvm.so [0xb775a2bc]
java: xcb_xlib.c:82: xcb_xlib_unlock: Assertion `c->xlib.lock' failed.
/usr/lib/frostwire/runFrostwire.sh: line 125:  3704 Aborted                 ${JAVA_PROGRAM_DIR}java -ea -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.NoOpLog -Djava.library.path=. $EXECUTABLE -jar FrostWire.jar $ARGUMENTS


******************************************************************
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_14"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_14-b03)
Java HotSpot(TM) Client VM (build 1.5.0_14-b03, mixed mode, sharing)
 
 View user's profile Send private message  
Reply with quote Back to top
xet7Offline
Post subject:   PostPosted: May 07, 2008 - 07:34 AM
Forum Moderator
Forum Moderator


Joined: Feb 20, 2008
Posts: 205
Location: Finland
Status: Offline
Hmm, ok, then try it with java6, it works on my laptop with Parsix 1.5.0r0-TEST-1, here's screenshot:
http://lauri.ojansivu.googlepages.com/Frostwire.png

If you're not on Parsix 1.5.0r0-TEST-1, install it.

Then as root:
Code:
apt-get update
apt-get remove sun-java5-bin sun-java5-fonts sun-java5-jdk sun-java5-jre sun-java5-plugin
apt-get install sun-java6-fonts sun-java6-jdk sun-java6-jre sun-java6-plugin
update-java-alternatives -s java-6-sun
apt-get dist-upgrade

I'm not sure if Frostwire working is because I have WTK2.5.2 installed too, so it it doesn't work yet, download .bin file from:
http://java.sun.com/products/sjwtoolkit/download.html

Then run as root:
./sun_java_wireless_toolkit-2_5_2-linux.bin

Install it to directory /opt/WTK2.5.2

I installed WTK, because I'm playing with Hecl, that's written in J2ME Java for mobile phones, and has syntax a little like Tcl. Hecl is at:
http://www.hecl.org

In Parsix I start J2ME emulator with this as normal user:
/opt/WTK2.5.2/bin/ktoolbar

I'll write more about Hecl to my webpage later.
 
 View user's profile Send private message Send e-mail Visit poster's website  
Reply with quote Back to top
xet7Offline
Post subject:   PostPosted: May 07, 2008 - 09:59 AM
Forum Moderator
Forum Moderator


Joined: Feb 20, 2008
Posts: 205
Location: Finland
Status: Offline
I have now made webpage about Hecl and my commandline app:
http://lauri.ojansivu.googlepages.com/h ... andlineapp
 
 View user's profile Send private message Send e-mail Visit poster's website  
Reply with quote Back to top
arash-mOffline
Post subject:   PostPosted: May 08, 2008 - 04:59 PM



Joined: Mar 04, 2008
Posts: 40

Status: Offline
That worked! Thanks xet7!
 
 View user's profile Send private message  
Reply with quote Back to top
rfpaOffline
Post subject:   PostPosted: May 23, 2008 - 12:28 AM



Joined: May 21, 2008
Posts: 25

Status: Offline
Can I just ask how did you install frostwire?

Thanks
 
 View user's profile Send private message  
Reply with quote Back to top
xet7Offline
Post subject:   PostPosted: May 23, 2008 - 02:45 AM
Forum Moderator
Forum Moderator


Joined: Feb 20, 2008
Posts: 205
Location: Finland
Status: Offline
Hmm? Just downloaded deb from frostwire site, installed it, and java, something like this:
Code:
dpkg -i frostwire.deb
apt-get update
apt-get dist-upgrade
apt-get install sun-java6-fonts sun-java6-jdk sun-java6-jre sun-java6-plugin
update-java-alternatives -s java-6-sun
 
 View user's profile Send private message Send e-mail Visit poster's website  
Reply with quote Back to top
rfpaOffline
Post subject:   PostPosted: May 23, 2008 - 09:35 AM



Joined: May 21, 2008
Posts: 25

Status: Offline
Ok, thanks. I just asked because I got an error when installing frostwire from their site. I'll try again. Smile
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 8 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Copyright© 2005-2009 Parsix Project
Contact: webmaster AT parsix DOT org