通过命令行错误提取JAR文件



我觉得问这个问题真的很愚蠢,但是这个问题的现有答案字符串,虽然他们回答了这个问题,但对我来说不起作用,我不能评论那个现有的帖子来问为什么(我是新人,没有声誉,所以我不允许)。作为参考,这是原始的Q&A字符串:使用命令行

提取.jar文件

我得到了字符串中提到的相同的错误,"jar不被识别为内部或外部命令,…",无论我做什么,我都无法让它运行。我尝试将目录更改为jar文件所在的位置,然后运行"jar xf",我尝试到根目录,然后在完整的文件路径上执行"jar xf",是的,我以admin身份运行cmd。

与此同时,我确实使用了我看到的关于7-zip的建议,而且效果很好。

仍然,我很困扰,命令行不为我工作,我真的想知道为什么,我做错了什么。我知道我错过了一些简单的东西,但因为我一直处于沮丧的循环中,我看不到它。

提前感谢并为重复道歉,

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.
C:Windowssystem32>cd C:UsersOwnerDesktopAnderson CadreJIRA
C:UsersOwnerDesktopAnderson CadreJIRA>jar xp Language.jar
'jar' is not recognized as an internal or external command,
operable program or batch file.
C:UsersOwnerDesktopAnderson CadreJIRA>jar xp C:UsersOwnerDesktopAnderso
n CadreJIRALanguage.jar
'jar' is not recognized as an internal or external command,
operable program or batch file.
C:UsersOwnerDesktopAnderson CadreJIRA>cd C:
C:>jar xf C:UsersOwnerDesktopAnderson CadreJIRALanguage.jar
'jar' is not recognized as an internal or external command,
operable program or batch file.
C:>

尝试从@Compo命令,但被告知"文件未找到"。如果我可以附加屏幕打印,我会附加文件夹和JAR文件的屏幕打印…

Microsoft Windows [Version 6.1.7601]Copyright (c) 2009 Microsoft Corporation版权所有

C: 用户所有者> DIR/B/S/模拟C: jar。*文件未找到

C: 用户所有者>

您没有安装jar,因此无法使用它

*.jar文件与jar.exe文件完全不同。

最新更新