I just moved my code over to a different computer, and code to play sounds that worked doesn't because AudioSystem says there are no Mixers, which are necessary to output any sound. The computer has the usual mixers and they work outside Java, so why doesn't it find them? I've searched the web and can't find anyone else who has had this problem. I've been doing this for 15 years with similar code! The computer is a 32-bit Dell running Win7, like my previous computer.

Here's code that searches for Mixers, and I know it works.

private static void listSourceDataLines() {
System.out.println("Available Mixers:");
Mixer.Info[] aInfos = AudioSystem.getMixerInfo();
for (int i = 0; i < aInfos.length; i++)
Mixer mixer = AudioSystem.getMixer(aInfos[i]);
Line.Info[] lines = mixer.getSourceLineInfo();
for (int j=0; j<lines.length; j++) {
System.out.println(" "+lines[j].toString());
if (lines[j] instanceof DataLine.Info) {
AudioFormat[] formats = ((DataLine.Info)lines[j]).getFormats();
for (int k=0; k<formats.length; k++) {
System.out.println(" "+formats[k].toString());