Updated Java Quickstart to new Java API