fix for java sample app dependencies