I am trying to access an MP3 audio file saved in my source folder, so that I can play it in a Java program (application, not applet).
The problem I seem to be having is that I cannot import javax.media
. I have been trying to install the Java media framework, but it gives me an error report:
"unable to execute...".
I use JDK v7 u45 and had tried it on JDK v7 u40, but I can't seem to figure out what to do. I tried calling
import javax.media.*;
and it returns a syntax error on the "media", claiming import is not available. Does jmf not work in Java 7?