SI-4492 More informative error when class not found on classpath

Sorry, I don't have time to add a test for the module advice part of the error message.
Our classpath handling needs to be fixed to do this reliably anyway.

I discovered another bug in our launcher script (#3630) while testing it manually...