Adjusted path for java sample.