Troubleshooting this TutorialSometimes, even though you try hard to understand the information in a tutorial, things don't work out quite like you want it to. This page is here to help you resolve any problems you might be having with the tutorial on playing audio in Java. The Common Mistakes section describes common problems that people have when doing the things in this tutorial, and how to resolve them. The Frequently Asked Questions section describes questions that people have that aren't related to mistakes, but rather, trying to understand the stuff better or exploring how it can be used. If your problem or concern isn't addressed here, feel free to add a comment below, so that I know where you're having trouble. I like to keep these pages fairly clean, so I may remove comments that I felt like have been addressed. If I remove your comment and you don't feel like the problem has been fixed, repost the question and we'll take another look at it. If a tutorial has a mistake in it, I will fix the mistake and reply to the comment with a brief explanation. However, after a couple of weeks I'll likely go back and remove the original comment as well as my reply, because, hopefully, the problem will have been fixed, and it won't be a concern any more. |
Common MistakesNone listed yet… |
Frequently Asked QuestionsNone listed yet… |
Hello,
I tried to follow along your tutorial,but the sun.audio classes could not be imported.
Did they get removed? If yes,do you know another easy way, except with clips?
Honestly, I'm not sure if they got removed. I haven't had a chance to revisit this tutorials in quite a while, and in the meantime, Oracle bought out Sun. So to see something in the sun.audio package get moved or disappear entirely seems quite plausible.
I don't know the answer, off the top of my head.
The best I can do at the moment is point you towards some official Java tutorials and see if that's of any use. (Fair warning… I didn't really read through all of this. Not sure if it's really what you want.)
http://docs.oracle.com/javase/tutorial/sound/accessing.html
Post preview:
Close preview