The Microsoft compiler for Java (jvc) produces interpreted (.class) files that will run on any virtual machine.
For jvc compiler syntax, command-line options, and error messages, see the jvc section of the Tools Reference.