#Can't get CMD to recognize Maven nor Notepad++

1 messages · Page 1 of 1 (latest)

river cedar
#

Hello, I'm trying to set up the command prompt to where it can run Notepad++ and Maven, but I'm having issues and not sure what I'm doing wrong? These are the messages that keep displaying when I try to run them:


"'mvn' is not recognized as an internal or external command, operable program or batch file."```


I created a batch file called setenv.bat and have it set up like this:

```@echo off

SET TOOLS HOME=c:\projects\tools

SET JAVA_HOME=c:\projects\tools\java\jdk-11.0.18

SET M2_HOME=%TOOLS_HOME%\apache-maven-3.9.1

SET PATH=%JAVA_HOME%\bin;%PATH%

SET PATH=%M2_HOME%\bin;%PATH%

SET PATH=%TOOLS_HOME%\Notepad++;%PATH%

SET CLASSPATH=.;```
native talonBOT
#

<@&987246964494204979> please have a look, thanks.

native talonBOT
#

While you are waiting for getting help, here are some tips to improve your experience:

Code is much easier to read if posted with syntax highlighting and proper formatting.

If nobody is calling back, that usually means that your question was not well asked and hence nobody feels confident enough answering. Try to use your time to elaborate, provide details, context, more code, examples and maybe some screenshots. With enough info, someone knows the answer for sure.

Don't forget to close your thread using the command </help-thread close:1027500463647621170> when your question has been answered, thanks.