Comment 7 for bug 457144

Revision history for this message
Craig Hewetson (craighewetson-deactivatedaccount) wrote :

I have a workaround (found on this site: http://www.tuxyturvy.com/blog/index.php?url=archives/66-Making-Sun-Java-1.6-play-via-PulseAudio.html#feedback ) to get java sound to "use" pulseaudio

Rename your existing java executable to java.bin and drop an executable script called java in the directory with the following content:

#!/bin/bash
padsp /usr/lib/jvm/java-6-sun/jre/bin/java.bin "$@"

Now I can run my audio player (rhythmbox) and play audio through my java application (java sound)