I have read previous problems about "rjava", but I still can not solve my problem from previous solutions.
I use the "xlsx" package to read .xlsx file in R. it require 2 packages : "rJava" and "xlsxjars". On Rstudio, I have install "xlsxjars", "rjava" and "xlsx" packages, however every time I library "xlsx", It always slows :
Loading required package: xlsxjars
Loading required package: rJava
Error : .onLoad failed in loadNamespace() for 'rJava', details:
call: fun(libname, pkgname)
error: JAVA_HOME cannot be determined from the Registry
錯誤: package ‘rJava’ could not be loaded
My condition :
R : 2.15.2
OS : win 7
Thank you very much!