title: How to preload entire jar file
body: <p>I'd like to preload entire jar file with all classes and resources at the start time. So that no access to the HDD was required for further java program execution.</p>
  
  <p>What is the recommended way for doing so?</p>
  
  <hr>
  
  <p>update:</p>
  
  <p>The jar is mastered with proguard, it detects some kind of dead code and removes it from the output. So loading classes that would never be used is not a problem.</p>