Compile and run the Java source file using JDK.