PATH not working on Mac OS X 10.10.3

872 views Asked by At

I want to configure maven and wildfly on my local mac computer. in terminal I use zsh shell. so, I input maven and wildfly home in .zshrc file as

MAVEN_HOME="/Users/myuser/Development/maven"
JBOSS_HOME="/Users/myuser/Development/wildfly"

and then

export PATH="$PATH:$JBOSS_HOME/bin:$MAVEN_HOME/bin"

but when I type maven command in terminal, it shows me this response

zsh: command not found: maven

then I put all 3 commands in .bashrc and .bash_profile files. but nothing. even after reboot. what is wrong?

1

There are 1 answers

2
Michał Kalinowski On BEST ANSWER

Maven command is mvn, not maven :)