0

I have the following case:

I am writing a java program and I'd like to read inside of the memory of an external process (that is a process not started by my application)

Is this (easily) possible? Do I need to download external jar's?

Thanks!

1
  • Is the "external process" running on a different JVM? Do you have control over that process? Commented May 29, 2014 at 14:17

1 Answer 1

1

yes, with Java Native Interface and Inter Process Communication: JNI allow you to call "C" native libraries, you must implement a module with "IPC:Shared Memory" in C. and modify others programs to work with Shared Memory. But... you are developing the first layer of OSI, is better try with sockets or webservices.

Sign up to request clarification or add additional context in comments.

1 Comment

I figured it out using JNA! But still thanks a lot!:P

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.