Fixed java license accept issue