开发者

How to hide a running process from task manager using java? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, in开发者_StackOverflow中文版complete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 10 years ago.

I want to hide a process from task manager using java code, and tell me how to get the process id while giving the process name as input............


You can not. Not in pure java to start with. See, you are limited to thejava api.

Outside java - there are ways to do that, but they involve a LOT of ground work and in general are not worth it. One approach I know of involves writing a KERNEL DRIVER - to give you an idea how low you have to go.

But again, the answer is: you dont. Not in pure java anyway.


You can't. Java will not allow you to access system resources in way you want.
You'll need C++ / perhaps VB for that.

Purpose of Java is to build platform independent code. And Task manager is windows specific.

Different languages are built for different purposes. For System level functionality C++ is better suited. I don't think Java is the right tool for the job, even if it were possible.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜