Add option to build java oca tar.gz
bug #1953: bug in sqlite detection for onedb