You download the JDK, open a texteditor, write a program and compile it in your command prompt.