Java Reclocation Error

Feature Requests, Comments, Bugs, and Suggestions on the Jukes java jukebox.

Java Reclocation Error

Postby ksleher » Mon Feb 11, 2008 6:45 pm

Hi,

I am running into the following error when trying to play a mp3 file. It looks more like a java error, but was wondering if any one had an idea as to how to fix it.

/usr/lib/jvm/sun-jdk-1.6/bin/java: relocation error: /opt/sun-jdk-1.6.0.04/jre/lib/i386/libjsoundalsa.so: symbol __snd_pcm_hw_params_get_channels_min, version ALSA_0.9 not defined in file libasound.so.2 with link time reference

If you need any furthur information, please let me know.

thanks
ksleher
 
Posts: 3
Joined: Mon Feb 11, 2008 6:39 pm

Re: Java Reclocation Error

Postby Melloware » Mon Feb 11, 2008 8:35 pm

Hmmm...looks like a Java error on Linux trying to use the sound driver through ALSA. Do you have the proper sound driver for your sound card?
=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Melloware Inc.
http://www.melloware.com
=-=-=-=-=-=-=-=-=-=-=-=-=-=-
User avatar
Melloware
Site Admin
 
Posts: 11050
Joined: Thu Dec 01, 2005 10:24 pm
Location: Philadelphia, Pennsylvania USA

Re: Java Reclocation Error

Postby ksleher » Mon Feb 11, 2008 10:37 pm

Yes... I do. xine, mplayer, amarok, banshee all work well. So, i am pretty sure the drivers are good and working....

my alsa-lib version is : 1.0.16
and the drivers are compiled into the kernel.
ksleher
 
Posts: 3
Joined: Mon Feb 11, 2008 6:39 pm

Re: Java Reclocation Error

Postby Melloware » Tue Feb 12, 2008 7:04 am

ksleher wrote:Yes... I do. xine, mplayer, amarok, banshee all work well. So, i am pretty sure the drivers are good and working....

my alsa-lib version is : 1.0.16
and the drivers are compiled into the kernel.


Hmmm then I think it is a problem in the JDK. Because that error is the low level communication between Java and the hardware and nothing in particular I am doing in Jukes. Sorry I can't be of more help. The sound API's have not been modified in Java since Java 3 about 7 years ago and I don't think Sun actively maintains them so its possible that something new in the Linux ALSA interface that Sun's code is not updated for. Just a guess though.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Melloware Inc.
http://www.melloware.com
=-=-=-=-=-=-=-=-=-=-=-=-=-=-
User avatar
Melloware
Site Admin
 
Posts: 11050
Joined: Thu Dec 01, 2005 10:24 pm
Location: Philadelphia, Pennsylvania USA

Re: Java Reclocation Error

Postby ksleher » Tue Feb 12, 2008 10:14 am

Thanks for the info.

Is it possible to know as to which version of alsa lib/drivers jukes has been known to work with (when using jdk 1.6)?
ksleher
 
Posts: 3
Joined: Mon Feb 11, 2008 6:39 pm

Re: Java Reclocation Error

Postby Melloware » Tue Feb 12, 2008 10:18 am

ksleher wrote:Thanks for the info.

Is it possible to know as to which version of alsa lib/drivers jukes has been known to work with (when using jdk 1.6)?


Don't know about the drivers or versions but I have friends running it on SUSE Linux 9 and 10, and Ubuntu (Gustsy Gibbon) and Kubuntu Linux all running properly.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Melloware Inc.
http://www.melloware.com
=-=-=-=-=-=-=-=-=-=-=-=-=-=-
User avatar
Melloware
Site Admin
 
Posts: 11050
Joined: Thu Dec 01, 2005 10:24 pm
Location: Philadelphia, Pennsylvania USA


Return to Jukes

Who is online

Users browsing this forum: No registered users and 1 guest

cron