The system cannot find the path specified.
JAVA HOME is not set correctly.
当我尝试在Eclipse中运行Web服务器时,出现以下错误:
系统找不到指定的路径。JAVA HOME设置不正确。
但是检查我的环境变量,它们看起来是正确的:
echo %JAVA_HOME%
C:\Program Files (x86)\Java\jdk1.8.0_101
echo %PATH%
C:\ProgramData\Oracle\Java\javapath;c:\windows\system32;c:\windows;c:\windows\system32\wbem;c:\windows\system32\windowspowershell\v1.0\;C:\Program Files\Git\cmd;C:\HashiCorp\Vagrant\bin;C:\Installation;C:\Program Files (x86)\Brackets\command;C:\Program Files (x86)\Java\jdk1.8.0_101\bin;C:\ProgramData\Oracle\Java\javapath;c:\windows\system32;c:\windows;c:\windows\system32\wbem;c:\windows\system32\windowspowershell\v1.0\;C:\Program Files\Git\cmd;C:\HashiCorp\Vagrant\bin;C:\Installation;C:\Program Files (x86)\Brackets\command;C:\Program Files (x86)\Java\jdk1.8.0_101\bin;C:\ProgramData\Oracle\Java\javapath;c:\windows\system32;c:\windows;c:\windows\system32\wbem;c:\windows\system32\windowspowershell\v1.0\;C:\Program Files\Git\cmd;C:\HashiCorp\Vagrant\bin;C:\Installation;C:\Program Files (x86)\Brackets\command;
还有什么我没考虑到的吗?
(x86)
会导致问题。 - STaefi