Compile and run Java files