Java commit