maven

'export' is not recognized as an internal or external command


I need to set Maven options in machine. I ran following command and I got 'export' is not recognized as an internal or external command

export MAVEN_OPTS=-agentlib:jdwp=transport=dt_socket,address=8000,server=y,suspend=n

Solution

  • 'export' command is valid only for unix shells. In Windows - use 'set' instead of 'export'