added commandline display of java version and commands to switch java versions