throw exception if redcore is not installed