AutoRest: update autorest.java cmd (#6735)
AutoRest: update autorest.java cmd (#6735)

* AutoRest: update autorest.java cmd

* AutoRest: update by review comments

* AutoRest: restrict version number validation

Azure/azure-sdk-for-java,navalev/azure-sdk-for-java,navalev/azure-sdk-for-java,navalev/azure-sdk-for-java,Azure/azure-sdk-for-java,Azure/azure-sdk-for-java,Azure/azure-sdk-for-java,navalev/azure-sdk-for-java,selvasingh/azure-sdk-for-java,navalev/azure-sdk-for-java,selvasingh/azure-sdk-for-java,selvasingh/azure-sdk-for-java,Azure/azure-sdk-for-java