First, I'm moving this post to the "Feature Request" section. The How-To Guides is not the proper place for this thread.
Second, the / partition has only a couple of MB free. So installing Java is pretty much out of the question without alot of work. You should look into running Java inside the jail. This is exactly why the jail was created.