New answers tagged


I found a workaround that works for me: replacing all the lines that create and start the AudioInputStream and Clip with this one line: Runtime.getRuntime().exec("aplay my-file.wav"); Note: I have intentionally not marked this answer correct, because it does not solve the issue with AudioInputStream. It simply sidesteps the problem, by passing the ...

Top 50 recent answers are included