R
Robina Brintha
Hi all,
I am quite new to Java.
I have an issue to be solved. I want to compare two JVM instances. Let
me go in detail I am instantiating two or more java instances of
particular application and I wanted to know which java instance
started first. For that I am generating random numbers in the
constructor of the class and trying to store it in a static variable
and comparing this with newly generated randon number. But then it
didnt work.
Is there any other easy solution to do that?
Can anyone give some hint?
Thanks in advance
regards,
robina
I am quite new to Java.
I have an issue to be solved. I want to compare two JVM instances. Let
me go in detail I am instantiating two or more java instances of
particular application and I wanted to know which java instance
started first. For that I am generating random numbers in the
constructor of the class and trying to store it in a static variable
and comparing this with newly generated randon number. But then it
didnt work.
Is there any other easy solution to do that?
Can anyone give some hint?
Thanks in advance
regards,
robina