I'm trying to gain access to a running process that I know the name of so that I can read and write to it.
How can this be done in Java?
There are many ways. What you need isn't clear enough to know which one is suitable for your need.
Unfortunately the details of each possibility are too great to post in such an answer; and, would probably be noise if they don't match well with your communication goals. I suggest you alternate between reading up on some of these technologies and thinking about what style and requirements you have for communication.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.