Public bug reported: OpenJDK for amd64 contains the following files:
./jre/lib/amd64/libpulse-java.so ./jre/lib/ext/pulse-java.jar and a sound.properties file with this: # OpenJDK on Ubuntu is configured to use PulseAudio by default javax.sound.sampled.Clip=org.classpath.icedtea.pulseaudio.PulseAudioMixerProvider javax.sound.sampled.Port=org.classpath.icedtea.pulseaudio.PulseAudioMixerProvider javax.sound.sampled.SourceDataLine=org.classpath.icedtea.pulseaudio.PulseAudioMixerProvider javax.sound.sampled.TargetDataLine=org.classpath.icedtea.pulseaudio.PulseAudioMixerProvider Copying the files above from openjdk to sun jdk and these rows to sound.properties seems to turn java6 jdk pulseaudio aware. It'd be great to see future versions of the package do this automatically. The following is not related to the bug but describes my motivation. I need to do this because I don't get sound with OSS or ALSA applications because of routing problems with optical connection from Audigy 2 ZS that's somehow related to pulseaudio but undebugable for me. It is related to the "Optical Raw" switch, which I could toggle in the past to get alsa and oss sound working again over the digital output. However, in the karmic betas this setting can no longer be toggled with alsamixer, and thus I *must* have audio routed via pulseaudio to hear anything at all. ProblemType: Bug Architecture: amd64 Date: Wed Oct 21 15:26:34 2009 DistroRelease: Ubuntu 9.10 NonfreeKernelModules: nvidia Package: sun-java6-jdk 6-15-1 ProcEnviron: PATH=(custom, user) LANG=fi_FI.UTF-8 SHELL=/bin/bash ProcVersionSignature: Ubuntu 2.6.31-14.48-generic SourcePackage: sun-java6 Uname: Linux 2.6.31-14-generic x86_64 ** Affects: sun-java6 (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug -- Add pulseaudio support to sun-java6-jdk https://bugs.launchpad.net/bugs/457144 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs