Using class.forname to see if environment is available