title: Java: Checking while run time if class exists
body: <p>I am working on a software which depends on an 3rd party library. Due to license agreements this library cannot be shipped along with the software and the user has to have the library already locally when starting the program.</p>
  
  <p>Is there any way to check if this particular library exist in the class path and can be loaded? If not I would like to offer a dialog to allow the user pointing to the location and add this location to the class path dynamically.</p>
  
  <p>Thanks for your help!</p>