I am running 2 instance of same application (using java - jar MyApp.jar) on same machine at a time. Inside one of my class I have created a class level variable (static). Will both applications share the same static variable as they are running under same JVM or separate JVM instance will created for both instances.
In case separate instances of JVM are created, either the class-loader loads 2 separate instances of My class which has static variable ?
I am not using any custom class loader*