maven - What is the reason for wrong cmd ouput for mvn --version after installation? -


i have installed maven 3.3.3. using jdk 1.6 , os windows vista. but, on command prompt, unable proper version details of maven. what may wrong ? environment variables (as system variables) set follows :-

      m2_home = c:\program files\maven 3.3.3\apache-maven-3.3.3     maven_home = c:\program files\maven 3.3.3\apache-maven-3.3.3     added in path c:\program files\maven 3.3.3\apache-maven-3.3.3\bin     maven_opts = -xms256m -xmx512m  
      c:\>mvn --version  
      output :-      usage: java [-options] class [args...]                (to execute class)        or  java [-options] -jar jarfile [args...]                (to execute jar file)      options include:         -client       select "client" vm         -server       select "server" vm         -hotspot      synonym "client" vm  [deprecated]                       default vm client.          -cp          -classpath                        ; separated list of directories, jar archives,                       , zip archives search class files.         -d=                       set system property         -verbose[:class|gc|jni]                       enable verbose output         -version      print product version , exit         -version:                       require specified version run         -showversion  print product version , continue         -jre-restrict-search | -jre-no-restrict-search                       include/exclude user private jres in version search         -? -help      print message         -x            print on non-standard options         -ea[:...|:]         -enableassertions[:...|:]                       enable assertions         -da[:...|:]         -disableassertions[:...|:]                       disable assertions         -esa | -enablesystemassertions                       enable system assertions         -dsa | -disablesystemassertions                       disable system assertions         -agentlib:[=]                       load native agent library , e.g. -agentlib:hprof                         see also, -agentlib:jdwp=help , -agentlib:hprof=help         -agentpath:[=]                       load native agent library full pathname         -javaagent:[=]                       load java programming language agent, see java.lang.instrument          -splash:                       show splash screen specified image  


Comments

Popular posts from this blog

Email notification in google apps script -

c++ - Difference between pre and post decrement in recursive function argument -

javascript - IE11 incompatibility with jQuery's 'readonly'? -