In this online tutorial, the programs are compiled and run for you, so you can ignore this section if you want. However, sooner or later, you will probably want to compile and run programs for yourself. The first thing you need to do is to get hold of a Java compiler:
After that, you need to decide how you are going to run Java. Here are some different ways of developing programs with Java, but only the last of them is recommended for beginners: