title: Getting a random number without the Random library
body: <p>I would like to get random numbers between a range I give, but the problem I don't want to use the Random library of Java or anything I have to initializate. </p>
  
  <p>Does anyone know an alternative way to get random numbers without using the java library?</p>
  
  <p>Thanks</p>
  
  <p>EDIT: What do you think about this solution?</p>
  
  <pre><code>   int random = i + (int)(System.currentTimeMillis()%((j - i) + 1));
  </code></pre>
  
  <p>Where i and j are the range</p>