update Java and documentation