R/R_error [Eng.]

R Error: JAVA_HOME cannot be determined from the Registry [Solution]

Cha-Nyong 2022. 11. 16. 10:37

Hello, 

 

This is about the error when we launch package named "xlsx"

 

 

 

 

 

 

 

 

Error message

See the below.

 

Error: JAVA_HOME cannot be determined from the Registry









Reason

The reason for this usually is that you are using a 64-bit version of R,

but not a 64-bit version of Java.

You may have installed a 32-bit version of Java or you might not have installed Java at all.

 

 

 

 

 

 

 

 

 

 

 

Solution

For this, you have to download and install the 64-bit version of Java on this page below:

 

 

Java install Domainhttps://www.java.com/en/download/

 

 

 

 

 

 

 

Simple End.