add java inventory examples.