Java Runtime is used to only run applications on a machine. There is no ability to compile java code into java classes with the Runtime environment. The Java Runtime uses a Java Virtual Machine.
The Java Virtual Machine is what gives java its cross-platform ability. There is a virtual machine built for each operating system. The JVM then takes the java compiled code and turns it into machine code to be run by the OS.