I am looking forward to build a media player with java, and basically what I found was [JMF](http://en.wikipedia.org/wiki/Java_Media_Framework). But, then again, this API is not upto date and doesn't support latest formats such as `MKV`. On more research, I stumbled upon

[Any simple (and up to date) Java frameworks for embedding movies within a Swing Application?](https://stackoverflow.com/questions/10440152/any-simple-and-up-to-date-java-frameworks-for-embedding-movies-within-a-swing)

Got all excited, but then digging some more, left me with this

[Adding other video codecs / DVD support to JavaFX 2.2](https://stackoverflow.com/questions/8153227/adding-other-video-codecs-dvd-support-to-javafx-2-2)

Now, I am disappointed and in a fix that how all the good media players (VLC, KMPlayer etc) been able to support all video and audio formats. They must be build using a programming language, IMHO !

So, my question would be, in-order to build a `complete media player` which supports `all kind of media files`:

1. Is `JAVA` incompetent ?
2. Has one ever build a good media player using `JAVA` ?
3. Is it just Java or no modern language can do it ?
4. Do I have rely and choose C, C++ to do this ?