prevent build with java in framework/base

Signed-off-by: Yen-Chin Lee <coldnew.tw@gmail.com>
pdate build

Signed-off-by: Yen-Chin Lee <coldnew.tw@gmail.com>