In this lesson you will create and compile your first Java program. Before you get started with this task there's something you should know about the Java compiler
. Unlike compilers for other high-level programming languages, the Java compiler does not produce machine code for a particular type of computer. Instead, it produces machine code for the Java Virtual Machine (Java VM). Move your mouse cursor over the buttons below to see the fundamental differences between a Java compiler and a C compiler.