Get java version shell.