Add pulseaudio support to sun-java6-jdk
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openjdk-8 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
sun-java6 (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned | ||
Bug Description
OpenJDK for amd64 contains the following files:
./jre/lib/
./jre/lib/
and a sound.properties file with this:
# OpenJDK on Ubuntu is configured to use PulseAudio by default
javax.sound.
javax.sound.
javax.sound.
javax.sound.
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
NonfreeKernelMo
Package: sun-java6-jdk 6-15-1
ProcEnviron:
PATH=(custom, user)
LANG=fi_FI.UTF-8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: sun-java6
Uname: Linux 2.6.31-14-generic x86_64
Changed in sun-java6 (Ubuntu): | |
status: | New → Confirmed |
Changed in sun-java6 (Ubuntu): | |
status: | Confirmed → Won't Fix |
The workaround did add pulse support to a simple test app I had. It didn't ultimately work for my Sphinx4 speech recognition app however, so I had to revert to using Sun's JVM and ALSA.