Add commands to compile java in a txt file