Well, the title says all, I tried playing a wav file using javax.sound and nothing is happening. I have tried many different files without any luck.
public s
Java's sound Clip requires an active Thread to play the audio input file otherwise the application exits before the file can be played. You could add
Clip
Thread
JOptionPane.showMessageDialog(null, "Click OK to stop music");
after calling start.
start