不能在Windows上使用jar命令 [英] Cannot use jar command on windows

查看:1288
本文介绍了不能在Windows上使用jar命令的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

jar命令不工作对我的箱子。我已经下载了JDK,并设置ENVAR路径,包括路径的jdk \\ bin目录。不过,我仍然得到恼人的消息,'罐子'不被识别为一个内部或外部命令,可操作的程序或批处理文件。没有人有任何建议来解决这个问题?

The jar command is not working on my box. I have downloaded the jdk, and set the envar "Path" to include the path to the jdk \bin directory. However, I still get that annoying message, "'jar' is not recognized as an internal or external command, operable program or batch file." Does anyone have any suggestions to solve this problem?

推荐答案

我想从你使用的是Windows错误信息?

I think from the error message that you're using Windows?

如果是这样,你尝试在你使用GUI更改路径打开后,在命令提示符? ?你仔细检查在您添加的路径?

If so, did you try it in a command prompt that you opened after changing your path using the GUI? And did you double check for typos in the path you added?

您可以尝试运行回声%PATH%来检查你的路径,并确保您的变化都显示出来,无错

You can always try running "echo %PATH%" to check your path, and ensure your change is both showing up and error free

这篇关于不能在Windows上使用jar命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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