Pseudorandom number generators (PRNGs) generate pseudorandom numbers from a specific seed value (usually an integer or a long). If you want the numbers generated to be different each time you run the program, you need to use a different seed value each time. For simple applications you can just use the current time as the seed. See
here.