I insalled maven in GCP windows server. when i execute a command output shows like below.
mvn -version
Output:
Apache Maven 3.8.5 (3599d3414f046de2324203b78ddcf9b5e4388aa0)
Maven home: C:\opt\apache-maven-3.8.5
Java version: 1.8.0_202, vendor: Oracle Corporation, runtime: C:\Program Files\Java\jdk1.8.0_202\jre
Default locale: en_IN, platform encoding: Cp1252
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"
'cmd' is not recognized as an internal or external command, operable program or batch file
Please anyone help me regarding this issue.
Thanks in advance.