i was unable to compile trunk after svn update.
i use different directories (aka VPATH) for source and build
error message is related to the missing shmem/java directory
from the oshmem directory.
The attached patch fixed this.
/* that being said, i did not try to build java for oshmem,
so the i did not commit this patch since it might not work when needed */