class One { public static void main(String[] arg) { new One().play(); } public void play() { try { AudioClip clip = Applet.newAudioClip(new URL( "file:\\C:\\Documents and Settings\\admin\\Desktop\\javabottle-open.wav")); clip.play(); URL ur = new URL("file:\\C:\\Documents and Settings\\admin\\Desktop\\flute+hrn+mrmba.aif"); clip = Applet.newAudioClip(ur); clip.play(); Thread.sleep(10000); } catch(Exception e) { System.out.println(e.getMessage()); } } } I am not getting any exception message & the audio is also not being played.