posted 15 years ago
Well, you want to have your cake and eat it too. :-). Java is a closed system, meaning it really does not allow the programmer much power on system side operations such as reading in raw bytes of data directly from the memory. You would need to have references to memory locations by means of object references.
However if you wish to access main memory for specific requirements, you may want to use native bindings and allow C or C++ to work at the memory and framing some sort of object which can be sent back to the Java programs at the higher levels.
This is yes, not for the beginner Java geek. Might take quite a bit of time and research. Study on JNI and a little bit of C, will help you out.
SCJP, SCWCD, SCBCD, IBM XML, IBM OOAD, SCEA 5, ITAC - Distinguished IT Architect.