试了很多答案,让我keytool.exe的开,但未能 [英] Tried many answers to get my keytool.exe to open but failed
问题描述
我试图让keytool.exe的运行,但在命令提示符下那么快,当我打开它消失了。
我也试过手动键入命令提示符
C:\ Program Files文件\的Java \ jdk1.6.0_25 \斌
它说,'计划'不是内部或外部命令,可操作的程序或批处理文件。我无法打开程序文件夹本身。
我到环境变量和路径更改为
1)C:\ Program Files文件\的Java \ jdk1.6.0_25 \ BIN 2)C:\ Program Files文件\ 多的差异相关路径,等等等等,但结果在命令提示符下仍然给我的错误。
当我输入C:> java的它显示列表 (我附上了CMD的截屏图片,但新用户不允许的)
我跟着这个方向从这个链接
和他们没有能够解决我的问题。我缺少什么吗?我希望能尽快解决这个问题。
!!!已更新!
我发现我已经在CD上的路径前键入
CD C:\ Program Files文件\的Java \ jdk1.6.0_25 \斌
我认为,如果我输入C:和preSS输入,将目录更改为C:以后我可以从那里键入路径,但总是得到错误,即使在程序文件本身
。谢谢大家!
路径之前下面是例如在我的命令 提示
C:> Program Files文件\的Java \ jdk1.6.0_25 \斌
纲要未被识别为一个 内部或外部命令,可操作的 程序或批处理文件。
添加了CD和...
C:> CD C:\ PROGRAM 文件\的Java \ jdk1.6.0_25 \斌
C:\ Program Files文件\的Java \ jdk1.6.0_25 \ BIN>
而不是开放keytool.exe的右走,打开CMD,然后光盘
用自己的方式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
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\ and more diff related path, etc etc but the result in command prompt is still giving me that error.
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
and none of them were able to solve my problem. Am I missing anything else? I hope to solve this problem soon.
!!!UPDATED!!!
I found out that I have to type in cd before the path
"cd C:\Program Files\Java\jdk1.6.0_25\bin"
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.
Thanks everyone!
here was the example in my command prompt
C:>Program Files\Java\jdk1.6.0_25\bin
'Program' is not recognized as an internal or external command, operable program or batch file.
added the 'cd' before the path and...
C:>cd C:\Program Files\Java\jdk1.6.0_25\bin
C:\Program Files\Java\jdk1.6.0_25\bin>
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屋!