Original: This is achieved by compiling the Java language code to an intermediate representation called Java bytecode, instead of directly to platform-specific machine code.
Simplified: Java does this by making the Java compiler turn code into Java bytecode instead of machine code.