Check for required files to prevent startup hanging

To prevent people like me doing silly things like forgetting to set $JMX_DIR and wondering why the system won't boot ;)