Problems using xmms on KDE

Using KDE version 3.3.2 (among other window managers) I had been using JuK for a while. I had used xmms with my Debian Sarge installation at some point, but while playing around with fvwm, had switched to JuK. Not having been diligent while ripping my CD collection to mp3, not all mp3s had proper ID3 tags on them. Nor did they necessarily have “guessable” conventions for the file names, so that JuK could figure them out.

Being a Winamp junkie on Windows, I switched back to xmms. However, when I attempted to play an mp3 through xmms, I got a pop-up that said, “Couldn’t open audio” and also:

Please check that:

Your soundcard is configured properly
You have the corrent output plugin selected
No other program is blocking the soundcard

After trying various configurations for xmms, I went to the Control Center, under the KDE menu. Under “Sound & Multimedia -> Sound System” I unchecked the box marked, “Enable the Sound System.” I believe this turns off sounds for window events–but I’d rather listen to music from my preferred player that have sound effects for my windows.

How to Install Sun Java on Debian
Started from:
I’ve added some notes about installing plugins at the bottom, but I’m not claiming credit for the installation notes, I just wanted to post them here so that I always have an easily locateable copy of the instructions in case something happens to the original information. The above link provides much more in-depth information and resources.

1) Get a SunJVM binary.

2) Install the Required Builder Package (as root)
apt-get -u install java-package

3) Create the .deb Package File (substitute the .bin file you downloaded from Sun):
(You shouldn’t be root for this step.)
fakeroot make-jpkg jdk-1_5_0_06-linux-i586.bin

4) Install the Java .deb Package (as root)
dpkg -i sun-j2sdk1.5_1.5.0+update06_i386.deb

5) Check that it Works:
java -version

Should be something like the following (the key is that you have Sun’s Java(TM)):
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)

Setting up resources:
1) Create a Virtual Java
ln -s /usr/lib/j2dsk1.5-sun /usr/lib/java

2) Add the Environment Variable to /etc/profile before the “umask 022” line:
export JAVA_HOME

3) Install java plugin (this example is for Firefox, 1.7 I believe)
ln -s /usr/lib/java/jre/plugin/i386/ns7/ /usr/lib/mozilla-firefox/plugins

4) Test the installation of your Java plugin.