I installed JMF (Java Media Framework). It is necessary for a test file that I ran. It worked perfectly. I was just wondering how do I include JMF libraries in my program. I use the command line and Notepad++, so IEDs are a no go. Do I just put in my code:
and then in my JAR file include the jmf.jar file?
I've never used or made a library in an application, so sorry if I'm totally off.
cc11rocks aka John Price
“Don’t worry if it doesn’t work right. If everything did, you’d be out of a job.” (Mosher's Law of Software Engineering)
“If debugging is the process of removing bugs, then programming must be the process of putting them in.” (Edsger Dijkstra)
I'm so frustrated, I'm about to shoot Java.
Where all the JAR files are: "E:\MediaTest"
Where the two class files I need are "E:"
I am running it off of my flash drive.
Here is the error I receive when I try to run it...
How do I make this work?
Here is the DIR for E:
DIR for E:\MediaTest:
What the heck?
Here is MediaTest.java and MediaPanel.java
That's the key part: you're specifying a class called "E:\MediaTest" which doesn't exist (because the class is called "MediaTest"). Class names and file names are not the same thing, and are not interchangeable. The "E:\" part needs to go into the classpath. So instead of
Could you give me a working example? It keeps saying "No media player found" on another computer (that does not have JMF installed). The example should include a JAR file (with 1-2 classes) and a library (preferabley in the form of a JAR file). I am having SOOO much trouble with this.
John Price aka cc11rocks
EDIT: Just found something that may fix the "problem".