I think java tends to default to using the default hardware audio device. You need to add the following to the java sound.properties configuration file which makes it use the default ALSA audio device:
i have the same problem with my audio device. Could you please tell me the steps, how i ad the config file, because i´m not so the linux crack.
Many thanks
thanks for the google search links.
The audio out works fine under linux, i tested it with “aplay” and “speaker-test …“
The problem is, under openhab there is no audio output for example …say(””).
Not working for me. My Java installs don’t have JRE folders. I tried placing in lib folder but that did not work. Still sound heading to HDMI monitor that has no speakers. I then found a file in /etc/java-11-openjdk/sound.properties and modified it. But still no luck.
Raspberry Pi 4B, latest OS
Default sound from other apps is AV Jack. But OH3 keeps sending to HDMI.