I am making a Capstone project from Coursera Data Science using R Studio, using some packages like RWeka, rJava, RWekajars that need Java.
I am not a Java specialist, but I install the JRE and JDK in the same version of "1.8.0_101".
When the Tokenization algorithm is running, it aborts with the following message:
Error in .jnew (name): java.lang.UnsupportedClassVersionError: weka / core / tokenizers / NGramTokenizer: Unsupported version of major.minor 51.0
I read a lot about this in other issues, but everything I tried does not work.
Let me know if anyone has the same problem and is there a solution?
Thank. (My equipment is a MAC i5 with 8 GB and 1 TB HD. My software is MacOS Sierra 10.12).
source
share