Use java write a java compiler