简体   繁体   中英

environment system variables: path not recognized error

I need set system environment path for java, sdk, opencv, ndk etc.. can I put all the path under the same variable "path", & use the semicoma, ";" to separate each other.

The problem is when I try to test by using cmd.exe It can only recognize the first path values.

Example: when I put sdk's path on first place and follow by java's path, it shown SDK路径; Java路径;

vice verse, it shown

熟路SDK路径

SO I should separate the path by difference variables name? WHat is the best way to solve it? Thanks.

Remove the space after each ; character when you set the path.

You also somehow have eveything in the path twice . See How do I set or change the PATH system variable? for the correct way to set the path.

You path should look like:

C:\android-ndk-r10;C:\Program Files\Java\jdk1.8.0_11\bin;C:\andorid-sdk\sdk\tools; C:\opencv\build;C:\opencv\build\x86\vc10\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\Wind‌​owsPowerShell\v1.0\;

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM