如何在Windows 8上执行“jps”命令? [英] How to execute "jps'' command on Windows 8?

查看:2872
本文介绍了如何在Windows 8上执行“jps”命令?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想看到我的工作java进程,所以我想执行 jps -m ,但在我的新Windows 8机器上有这个错误信息

I want to see my working java processes so I want to execute jps -m, but on my new Windows 8 machine there is this error message

Microsoft Windows [Version 6.3.9600]
(c) 2013 Microsoft Corporation. All rights reserved.

C:\Xelian>jps -m
'jps' is not recognized as an internal or external command,
operable program or batch file.

我已安装JDK

C:\Xelian>java -version
java version "1.7.0_67"
Java(TM) SE Runtime Environment (build 1.7.0_67-b01)
Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)

题?如何杀死所有Java进程 killall java 在Linux上但在Windows 8上可以运行?

And another question? How to kill all java processes killall java works on Linux but on Windows 8?

推荐答案

这可能是JDK的bin目录不在您的PATH中的情况。尝试把它放在你的路径。看到这个其他堆栈溢出问题的更多细节。方向对于Windows 8几乎相同

This is probably a case of the JDK's bin directory not being in your PATH. Try to put it in your path. see this other stack overflow question for more details. The directions are the pretty much the same for windows 8

堆栈溢出回答

这篇关于如何在Windows 8上执行“jps”命令?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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