You didn't get much of an answer to this yesterday. It's correct, though, and one of the upvotes is mine.
Java can be used on the server side, perhaps to prepare those audio and video resources. If that's what you have, talk to your web host about how to run Java code. You may or may not get that feature on free/inexpensive web hosting, but you should be able to run Java classes on any VPS or dedicated server--if that's what you're after.