'java' is not recognized as an internal or external command, operable program or batch file in Windows 10

后端 未结 1 1673
南方客
南方客 2021-01-21 04:13

I know this is a popular question on the web, but I\'m getting this error even after setting JAVA_HOME env variable and adding %JAVA_HOME%\\bin\\ to th

1条回答
  •  有刺的猬
    2021-01-21 05:03

    If you use the gui of windows for env variable don't use %JAVA_HOME% but the real path. The variable are not interpreted in the gui.

    And in consequence you have %JAVA_HOME% directly in your path who will not be interpreted when you enter your command

    0 讨论(0)
提交回复
热议问题