Unable to call "qdap" package after installation

I'm trying to call the "qdap" package after installation, I'm currently learning text mining.

I ran the codes below
install.packages("qdap")
library(qdap)

I came across "setting the java environment" on stackoverflow pages.
Sys.setenv(JAVA_HOME='C:\Program Files\Java\jre7')

This also didn't work. I have attached the error message - I'm using a windows

java error

rJava requieres a JDK (Java Development Kit) installation and you are setting the path to a JRE (Java Runtime Environment) installation, that is why it fails.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.