commit java resources