会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
代码改变世界
Cnblogs
Dashboard
Login
Home
Contact
Gallery
Subscribe
RSS
OrisonWind
Notes for learning
java获取系统进程号
2017-03-02 14:06 by Orison,
2078
阅读,
0
推荐,
收藏
,
编辑
摘要:public static final int jvmPid() { try { RuntimeMXBean runtime = ManagementFactory.getRuntimeMXBean(); Field jvm = runtime.getClass().getDeclaredField("jvm"); jvm.setAccessible(true); V...
阅读全文
0 Comment
About