Add missing Apache license header to java files