add sample Java files.