Add parts to java lab.