FINDSTR'不被识别为内部或外部命令 [英] FINDSTR' is not recognized as an internal or external command

查看:1148
本文介绍了FINDSTR'不被识别为内部或外部命令的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,我尝试安装jmeter 我输入

Hello I trying to install jmeter I type

cd C:\apache-jmeter-2.13\bin
C:\apache-jmeter-2.13\bin>jmeter.bat

我收到此消息

FINDSTR' is not recognized as an internal or external command
Not able to find Java executable or version. Please check your Java installation

. 我尝试更改PATH变量,但忽略了该主题 Findstr不适用于SET/P吗? ,但没有用.
我的PATH用户变量是C:\Windows\System32, C:\Program Files\apache-maven-3.3.3\src\bin,系统变量是C:\Program Files\apache-maven-3.3.3\bin; C:\WINDOWS\system32, C:\Program Files\TortoiseSVN\bin

. I trying change PATH variable , fallow this topic Findstr does not work with SET /P? , but it didn't work.
My PATH user variable is C:\Windows\System32, C:\Program Files\apache-maven-3.3.3\src\bin and System variable is C:\Program Files\apache-maven-3.3.3\bin; C:\WINDOWS\system32, C:\Program Files\TortoiseSVN\bin

请帮助我在Google中找不到有用的信息

Please help i not find helpful information in google

推荐答案

JMeter尝试使用以下方法来计算Java版本:

JMeter is trying to compute Java version using :

java -v

java -v

并在其上使用findstr函数.

And using findstr function on it.

但是我想Java不在路径中,因为您的路径配置错误.

But I guess that Java is not in path as you path is misconfigured.

因此将Java bin文件夹添加到路径并确保您使用;"而不是','作为分隔符.

So add Java bin folder to path and ensure you use ';' instead of ',' as separator.

这篇关于FINDSTR'不被识别为内部或外部命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆