rough cut, changed doc.txt to java.scrbl (with a lot of verbatim)