compile java on startup