i am trying to .wav file using java eclipse ..
[B]import java.io.* ; import sun.audio.*; public class AudioDemo{ public static void main(String[] args) throws Exception { String F = "E:pppp.wma"; InputStream in = new FileInputStream(F); AudioStream audioDemo = new AudioStream(in); AudioPlayer.player.start(audioDemo); } }[/B]
and i am getting the following errors ...
Exception in thread "main" java.io.FileNotFoundException: E:pppp.wma (The system cannot find the file specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at AudioDemo.main(AudioDemo.java:10)
please help iam a beginner !!!!!