Welcome to the forum.
I haven't used Oracle's UPK but I am guessing it will be much
like the Sun Java Kit. See my site for a topic on that.
Both will produce a help file and other documentation. But
see what I say about JavaHelp.
Neither of those tools are high on the list of tools used by
authors.
Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.