Add license header to java files