Not sure what you mean.
If you want to store a value in a variable, declare the type and name and assign the value to it.
This only lives as long as your program does. If you want that value to persist even after your program ends you'll need to write it to a file or store it in a database.
%
> hi all..,
>
> How do i store a value in JVM..is there any
> tech to store.....could anyone help me
> reg.this.........
int i = 0;
That's one possible interpretation. If you provide more detail about what it is you're attempting or need to do, perhaps we can provide a more useful answer.
And please use only one period at a time.
Thanks.
~