如何在windows中查看正在执行的java程序的classpath和jvm args [英] How can I view the classpath and jvm args of an executing java program in windows

查看:953
本文介绍了如何在windows中查看正在执行的java程序的classpath和jvm args的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在* nix中,我只需要 ps -ef | grep java 查看正在执行的java程序的jvm args和classpath。如何在Windows命令提示符下看到它?我想看看某些jar是否实际上在运行的weblogic服务器的类路径中。

In *nix I just do ps -ef | grep java to see the jvm args and classpath of an executing java program. How can I see it in windows command prompt? I want to see if certain jars are actually in the classpath of a running weblogic server.

推荐答案

你可以启动 JConsole ,连接到运行Weblogic的JVM,然后导航到VM Summary选项卡以检查classpath / vm args。

You can fire up JConsole, connect to the JVM running Weblogic and then navigate to the "VM Summary" tab to inspect the classpath/vm args.

这篇关于如何在windows中查看正在执行的java程序的classpath和jvm args的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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