fixed error logging and upticked java-lib version