Home > Back-end >  Questions about JAVA version
Questions about JAVA version

Time:09-21

Consult everybody a great god a question, why in R load "XLSX" packages, appear the following error:
The library (XLSX)
Error: package or namespace load failed for 'XLSX:
LoadNamespace (a) calculate 'XLSX. onl oad fails, the detailed content:
Call: fun (libname, pkgname)
Error: Your Java version is 11. Need 1.5.0 or who.


I use a JAVA 11 configuration environment, it shows that the needs of the JAVA 1.5.0 or higher, don't is a JAVA version 11 with JAVA 1.5.0 compatible? JAVA is not higher than JAVA 1.5.0 11?

CodePudding user response:

refer to the original poster Bluesky_123456 response:
consult everybody a great god a question, why is loaded in the R "XLSX" packages, appear the following error:
The library (XLSX)
Error: package or namespace load failed for 'XLSX:
LoadNamespace (a) calculate 'XLSX. onl oad fails, the detailed content:
Call: fun (libname, pkgname)
Error: Your Java version is 11. Need 1.5.0 or who.


I use a JAVA 11 configuration environment, it shows that the needs of the JAVA 1.5.0 or higher, don't is a JAVA version 11 with JAVA 1.5.0 compatible? JAVA is not higher than JAVA 1.5.0 11?


Before and after java9 java9 completely different, java9 later using the module, not backwards compatible,

CodePudding user response:

I want to run under the JAVA version 11 XLSX bag, so how to solve this problem?

CodePudding user response:

refer to the second floor Bluesky_123456 response:
I want to run under the JAVA version 11 XLSX bag, so how to solve this problem?



Third party package needs to create a new module - info. Java file
Use the requires calling third party module
 
The module demo {
The requires spring. Beans;
The requires spring. The context;
The requires spring. The core;
}


CodePudding user response:

Ok, thanks god!
  • Related