Rewrite JdkCompiler and print pretty errors