尝试了许多答案让我的keytool.exe打开但失败 [英] Tried many answers to get my keytool.exe to open but failed

查看:1849
本文介绍了尝试了许多答案让我的keytool.exe打开但失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图让keytool.exe运行,但是一旦我打开它,命令提示符就会消失得如此之快。

I was trying to get keytool.exe running but the command prompt disappear so fast as soon as i open it.

我也试图手动输入命令提示

I also tried to manually type in the command prompt

C:\Program Files\Java\jdk1.6.0_25\bin

C:\Program Files\Java\jdk1.6.0_25\bin

说程序不被识别为内部或外部命令,可操作的程序或批处理文件。我无法打开程序文件夹本身。

it says 'program' is not recognized as an internal or external command, operable program or batch file. I was unable to open program file folder itself.

我去了环境变量并将路径更改为

I went to environment variables and change the path to

1)C:\Program Files\Java\jdk1.6.0_25\bin
2)C:\Program Files\
和更多diff相关的路径等,但结果命令提示符仍然给我这个错误。

1)C:\Program Files\Java\jdk1.6.0_25\bin 2)C:\Program Files\ and more diff related path, etc etc but the result in command prompt is still giving me that error.

当我输入'C:> java'时,它显示了列表
(我附带了屏幕截图但是不允许使用新的用户)

when i type in 'C:>java' it showed the list (I attached the screen shot picture of the cmd but new users not allowed)

我从这个链接跟着这个方向

i followed this direction from this link

我找不到Android keytool

他们都没有能够解决我的问题。我还想念别的吗我希望能尽快解决这个问题。

and none of them were able to solve my problem. Am I missing anything else? I hope to solve this problem soon.

!!! UPDATED !!!

!!!UPDATED!!!

我发现我必须在路径前键入cd

I found out that I have to type in cd before the path

cd C:\Program Files\Java\jdk1.6.0_25\bin

"cd C:\Program Files\Java\jdk1.6.0_25\bin"

我假设如果我键入C:并按enter键,它会将目录更改为C:,然后我可以从那里输入路径,但始终会在程序文件本身得到错误。

I assumed that if i type in C: and press enter it would change directory to C: and after I can type the path from there but always getting error even at "Program Files" itself.

感谢大家!


这里是我的命令中的示例
提示

here was the example in my command prompt


C:>程序文件\Java\jdk1.6.0_25\bin

C:>Program Files\Java\jdk1.6.0_25\bin

'程序'不被确认为
内部或外部命令,可操作的
程序或批处理文件。

'Program' is not recognized as an internal or external command, operable program or batch file.


在路径之前添加'cd'...

added the 'cd' before the path and...



C:> cd C:\Program
Files\Java\jdk1.6.0_25\bin

C:>cd C:\Program Files\Java\jdk1.6.0_25\bin

C:\Program Files\Java\jdk1.6.0_25\bin>

C:\Program Files\Java\jdk1.6.0_25\bin>



推荐答案

而不是立即打开keytool.exe,打开cmd,然后在$ to code> cd 你的方式到keytool.exe的目录。从那里运行 keytool.exe [parameters] 。提示将保持开放状态,您可以看到发生了什么。

Instead of opening keytool.exe right away, open cmd, then cd your way to keytool.exe's directory. From there run keytool.exe [parameters]. The prompt will stay open and you can see what is going on.

这篇关于尝试了许多答案让我的keytool.exe打开但失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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