Compiling and running a Java program