Add support for --jave-version option