how to read the the memory from java?

I want to create a program to see what is stored in the memory, which package should I use in order to do this?
[118 byte] By [eddymvpa] at [2007-10-2 21:22:29]
# 1
C or C++ come to mind, not Java.
ChuckBinga at 2007-7-14 0:32:48 > top of Java-index,Java Essentials,Java Programming...
# 2
I thought java was able to read from the memmory, on this case Is it only C or C++ that does this?
eddymvpa at 2007-7-14 0:32:49 > top of Java-index,Java Essentials,Java Programming...
# 3
Java is platform-independent; how could it read from memory?
ktm5124a at 2007-7-14 0:32:49 > top of Java-index,Java Essentials,Java Programming...
# 4
I dont think even C++ or C can do what the op wants.Eventhough they can read memory as row data still OS will not let the user program to access the memory outside the range that is allocated to it.
LRMKa at 2007-7-14 0:32:49 > top of Java-index,Java Essentials,Java Programming...
# 5
i'm reffering about the memory of a specific program that is running and store some data in the memory, am I able to access that program's data from another program?
eddymvpa at 2007-7-14 0:32:49 > top of Java-index,Java Essentials,Java Programming...
# 6
Not without the co-operation of that program (i.e. the use of shared memory), and not in Java.
ejpa at 2007-7-14 0:32:49 > top of Java-index,Java Essentials,Java Programming...
# 7
if the memory is share, is it possible to be done in c++?if it does then I have to start teaching myself a new language.
eddymvpa at 2007-7-14 0:32:49 > top of Java-index,Java Essentials,Java Programming...
# 8
Yes
ejpa at 2007-7-14 0:32:49 > top of Java-index,Java Essentials,Java Programming...
# 9
e.g., assembly
ktm5124a at 2007-7-14 0:32:49 > top of Java-index,Java Essentials,Java Programming...