I am using Mac os x el Capitan version 10.11.4 and I got this error while trying to load qdap library .
JavaVM: Failed to load JVM: /Library/Java/JavaVirtualMachines/jdk1.8.0_65.jdk/Contents/Home/bundle/Libraries/libserver.dylib JavaVM FATAL: Failed to load the jvm library. Error : .onLoad failed in loadNamespace() for 'openNLPdata', details: call: .jinit()
error: JNI_GetCreatedJavaVMs returned -1Error: package or namespace load failed for 'qdap'
I tried to do this :
step#1 sudo R CMD javareconf
step#2 install.packages("rJava",type='source')
but I not able to run sudo R CMD javareconf
sudo: R: command not found