We use cookies essential for this site to function well. Please click to help
us improve its usefulness with additional cookies. Learn about our use of cookies in our Privacy Policy.
When i am loading RWeka library, am getting the following error:
Error: package or namespace load failed for ‘RWeka’:
.onLoad failed in loadNamespace() for ‘RWeka’, details:
call: .jnew(“weka.core.WekaPackageManager”)
error: java.lang.UnsupportedClassVersionError: weka/core/WekaPackageManager (Unsupported major.minor version 52.0)
What ankit2106 tried to say you is that there are several versions of Java out there. Recently, I had a similar problem because I was using by default the OpenJDK 7 package but changing it to OpenJDK 8 and updating the paths (something related to the javareconf), solved my problems. Check the versions of your Java installation (how is the process depends on your OS).