How to hide a running process from task manager using java? [closed]
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.
精彩评论