modify compile model. add java compiler