I'll bite and supply the quick answer David was talking about
You can't. Java hides the details of in-memory representation, and particularly has no concept of accessing data structures in memory by address. Given that, the previous poster was right to ask: what do you need the info for?
How can I find the address of primitive data type in java.
Short answer: You can't. If it's local, it's on the stack. If it's a member of an object, it's on the heap. Either way, there's no way in Java to get at that information; Java doesn't allow it by design.