Fix up model validation checking
Provide a friendlier error message when not running under jruby