路径变量似乎被忽略了

路径变量似乎被忽略了

不知道为什么,但路径变量中列出的某些路径似乎被忽略了。例如,当从正确的文件夹执行时,处理运行没有问题,但每当从其他地方调用它时,它就会被忽略。我试图在其他 IDE 中为处理进行构建,但构建总是在调用 processing-java.exe 时失败。

我想上传截图但没有足够的声誉来做到这一点;)

所以我的路径变量是:

C:\Program Files (x86)\Common Files\Anoto\gs\gs8.71\lib;
C:\Program Files (x86)\Common Files\Anoto\gs\gs8.71\bin;
%SystemRoot%\system32;
%SystemRoot%;
%SystemRoot%\System32\Wbem;
%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\; 
C:\Ruby200-x64\bin\;
C:\Program Files\nodejs\;
C:\Program Files (x86)\Extensis\Suitcase Fusion 4\; 
C:\Program Files\processing-2.2.1

提前致谢

答案1

当以正常方式而不是此列表进行设置时,中间是否会有一个空格,例如:

C:\Program Files (x86)\Common Files\Anoto\gs\gs8.71\lib; C:\Program Files (x86)\Common Files\Anoto\gs\gs8.71\bin; %SystemRoot%\system32; %SystemRoot%;

如果是的话,删除空格并像这样:

C:\Program 文件(x86)\Common Files\Anoto\gs\gs8.71\lib;C:\Program 文件(x86)\Common Files\Anoto\gs\gs8.71\bin;%SystemRoot%\system32;%SystemRoot%;

最后用 C:\Program Files\processing-2.2.1\ 完成;

相关内容