I had some problems with playing sound using JavaFX on my Mac, so I decided to dig a little. I've found class called OSXMediaPlayer, with method that has the following signature:
private native void osxPlay() throws MediaException;
and - unfortunately - an empty body. Does that mean that Java call OSX command under the hood? Can I open a terminal and try it myself?