Where are instance variables (primitives) stored in java?
Primitive variables are stored in the same places where all variables are stored (including references):
If you mean instances of fields declared in a class, they are allocated on the heap as part of the object's own allocation.
Primitive variables (value type) declared as method locators are stored in the method stack frame.
After loading the class, the class loader with the qualified name in jvm. The JVM parses binary data from the class and places this information in the Method area. When the JVM executes the class, it first places objects (including primitive / non-primitive field instances) in the heap.