add java top level dir for java code on CRAN