add license to java files