java.applet.AudioClip clip = java.applet.Applet.newAudioClip(new java.net.URL(args[0])); clip.play();