如何判断 ant 是否安装/$ 命令是什么?
我正在尝试按照 这个。
说明显示要检查是否安装了 ant,请在命令窗口中键入 $ ant -v。
当我键入该内容时,我收到以下消息:“$ 未被识别为内部或外部命令、可操作程序或批处理文件。”
这是不是说明ant没有安装呢?如果安装了 ant,$ 是一个可以工作的命令吗?
我在网上找不到以$开头的计算机命令。
I'm trying to install ant on my computer per this.
The instructions say to check whether ant is installed, type $ ant -v in a command window.
When I type that, I get this message: "$ is not recognized as an internal or external command, operable program or batch file."
Does this mean that ant is not installed? Is $ a command that would work if ant were installed?
I can't find a computer command beginning with $ on the web.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
“$”只是表示您应该在 shell 中输入它所说的内容。
只需键入:
省略美元符号。
`$' just indicates that you should type what it says into a shell.
Just type:
Omit the dollar sign.
Unix 命令是
ant -version
如果安装了 Apache Ant,它将返回:
The Unix command is
ant -version
If Apache Ant is installed it will return:
$ 是 shell 提示符的一部分。它可以向您显示哪些行是输入,哪些行是输出。输入命令时将其保留。
在windows部分,提示符为“C:\path\to\working\dir>”
$ is part of the shell prompt. It is there to show you which lines are input and which are output. Leave it out when entering the commands.
In the windows part, the prompt is "C:\path\to\working\dir>"
$是linux命令提示符符号。对于windows你可以忽略它
$ is linux command prompt sign. For windows you can just ignore it
ya $ 在 win xp 中无法识别,
他们是否有其他方法可以知道 Ant 是否安装...
就像 Java 一样,如果你在 cmd 中输入 java,U 将得到几个选项....这表明 java 已安装。
ya $ is not recognized in win xp,
Is their any other method to know whether Ant is installed or not...
Like for Java if you type java in cmd U will get few options....which tells that java is installed.