Build a jar file and run from the jar file.