after jenv uninstall each command prints "command not found: jenv", how to get rid of that?

1.6k Views Asked by At

My mac has everything installed using brew. I also had jenv installed. I got frustrated with

"jvisualvm The operation couldn’t be completed. Unable to locate a Java Runtime that supports jvisualvm",

decided to uninstall everything. Uninstalled java, uninstalled jenv.

Now even ls command prints

"jenv:11: command not found: jenv".

How to get rid of this message?
I did remove jenv lines from ~/.zshrc and ~/.bash_profile

0

There are 0 best solutions below