davidgohel / R2DOCX

Other
15 stars 9 forks source link

R2DOCX Java problem #3

Closed stefp closed 11 years ago

stefp commented 11 years ago

Hi I had been using R2DOCX until few weeks ago on a Mac, with Java version 7, R version 3.0.2. When I run:

docx.file = "report.docx" doc = new("Docx", title = "report_controllo_confini" )

I get

Error in .jnew("com/lysis/reporting/docx4R") : java.lang.UnsupportedClassVersionError: com/lysis/reporting/docx4R : Unsupported major.minor version 51.0

Do you know how to deal with this problem? Thanks in advance.

Stefano

davidgohel commented 11 years ago

A jar file has been recompiled with a JRE 1.6 compliance (it was compiled with 1.7 and could not be used with a JRE 1.6) Also R2DOC now check that a supported version of java is used and set automatically the NOAWT to 1

David