Updating java bindings and examples