posted 13 years ago
So I have 16 classes that I can successfully put into a jar. Then, I have two 6 .au files (Sun audio format). I put these 6 files in a folder. When I ran just the jar, it worked. When I moved the folder away (outside the jar), the sound did not work. I used this command:
and then I tf'd it, and all the files showed up. Since the folder is combined with the Jar file (I know this for a fact because it was larger than my class files), it should work. Is there any way that I can put and access that folder that is inside that Jar from one of the class files? For example, I want to be able to call up a sound file from one of the classes while running a Jar.
Currently, I have my "sound player" set up like this...
How do I access the music files inside the Jar?
Thanks,
John Price aka cc11rocks
“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)