0

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.

Richard JP Le Guen
  • 28,364
  • 7
  • 89
  • 119
temelm
  • 826
  • 4
  • 15
  • 34
  • Yes. See the 'Service Provider Interface' & 'MP3 decoding support' sections of the [Java Sound Wiki](http://stackoverflow.com/tags/javasound/info) for more details. – Andrew Thompson Oct 22 '12 at 10:33

1 Answers1

0

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/

Sushant Kumar Singh
  • 323
  • 1
  • 5
  • 18