Java virtual machine is interpreters for byte code in this paper we have discuss the internal architecture of JVM which shows that how objects go into the java heap and how method calling goes into the java stack. In this paper we also discuss the java security and process of how java programs run step by step inside JVM.