init javarun and compile