Add docs for javaOptions and forking