Is it possible at all to play MP3 files using only the built-in libraries provided with JDK. I've heard of the javax.media library which is found is 1.7 I think. By the way I know of jlayer but I don't want to use it.
Yes you can play MP3 file, but you need to download MP3 plugin because java framework only supports WAV and AIFF files.
Check http://www.morgenstille.at/blog/how-to-play-a-mp3-file-in-java-simple-and-beautiful/
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.