There are various instances of this issue that we get such as JAVAC’, JRE, ‘MVN’, JAR’ is not recognized as an internal or external command, operable program or batch file, ‘Java’ is not recognized as ...
プロンプトの説明などは以前やりましたので、そちらを参照(第2回 ディレクトリ移動)してください。まず、zshのプロンプトを変更してみましょう。zshのプロンプトはPROMPTに表示したい文字列を設定します。以下のようにするとプロンプトがxyzに変わります。