Reputation: 1473
I am a novice in Java. I am using NetBeans IDE to edit and compile test applications. Everything looks ok, but I can not add and compile package javax.sound.sampled in my application. NetBeans underscored it and write "package javax.sound.sampled does not exist".
I have installed last version of JDK (v.1.6_35) but nothing happens. I also read that javax.sound.sampled is embedded into JDK so it doesn't need to download any plugins, but I even can't found any files like "javax" into installed JDK package (i mean C:/Program Files/Java folder).
What I am doing wrong??
Upvotes: 0
Views: 2487
Reputation:
In your code replace
import javax.sound.sampled;
to
import javax.sound.sampled.*;
Upvotes: 4