r.java sample is added.