I think it also exists for Java itself now.

Yes. You can just run java myfile.java