-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
is xlsx compatible with Java/16 ? #193
Comments
Interesting! I'm not sure! I will give this a check. It's worth noting that you should be able to test the new version of embedded Java bits if you run:
If this is indeed an "old version of the Apache POI library" issue, that should resolve it. However, I do not yet have all the kinks sorted out of that branch yet, so some functionality does not work. I would be curious to hear what you find though! |
I'm getting the following error message when I try to install the bump-poi version: Installing package into ‘$install_dir/R-bundle-extra/4.0.3-foss-2020b-R-4.0.3’
(as ‘lib’ is unspecified)
* installing *source* package ‘xlsx’ ...
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
Error in .jcheck() : No running JVM detected. Maybe .jinit() would help.
Error: unable to load R code in package ‘xlsx’
Execution halted
ERROR: lazy loading failed for package ‘xlsx’
* removing $install_dir/R-bundle-extra/4.0.3-foss-2020b-R-4.0.3/xlsx’
Error: Failed to install 'xlsx' from GitHub:
(converted from warning) installation of package ‘/tmp/Rtmp2hQPu2/file298fd4b653d78/xlsx_0.6.5.9100.tar.gz’ had non-zero exit status
> .jinit()
Error in .jinit() : could not find function ".jinit"
> .jcheck()
Error in .jcheck() : could not find function ".jcheck" |
Apologies for the late reply here. It sounds like some progress here though! So the
|
I'm getting the following output:
then I tried to install the xlsx bump-poi version again, but I'm getting the same error message |
(Sorry for the typo on the first
Something weird is going on in your JVM, it seems like! |
I'm getting the following output:
|
Weeeird! So now that looks totally normal!! Ok, so I did a bit of testing and this looks like it works (even w/ the CRAN release of
If you're on linux, you could also try:
I'm wondering if there is something weird in your Java install (i.e. why that The container I'm using, in case it is helpful: Dockerfile
Then:
It's worth noting that Java weirdness is one reason that many people bail on |
Maybe I have to rebuild the whole R module with Java 16 (or 17) I will close this ticket for now, and I will create a new one if needed |
Hi
I'm trying to install xlsx with Java/16, but I'm getting the following error message:
is xlsx not compatible with Java/16 ?
The text was updated successfully, but these errors were encountered: