I recently installed package r2pmml and all its dependencies in R
. However, when I'm trying to convert my gbm model object to pmml it throws this error:
r2pmml::r2pmml(model,"model.pmml")
Error in .jnew("org/jpmml/rexp/Main") :
java.lang.UnsupportedClassVersionError: org/jpmml/rexp/Main : Unsupported major.minor version 51.0
I'm a noob when it comes to java and any help is appreciated!