add javaDB and fix nakl