added documentation for Java API

also added documentation for noJars, which was missing from the Scala API