javac not recognized

后端 未结 11 1365
再見小時候
再見小時候 2020-12-10 06:33

What can I do when I keep receiving the error

\'javac\' is not recognized as an internal or external command, operable program or batch file

11条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-10 07:11

    This just means that javac isn't in your PATH variable.

    On Windows, you just have to add the folder that contains javac.exe to the PATH environment variable (Win+Pause/Break).

    On Linux/Mac/Unix, just append that directory to $PATH in .bashrc or similar.

提交回复
热议问题