Updated java documentation