You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "dabao1990 (via GitHub)" <gi...@apache.org> on 2024/10/28 03:35:33 UTC
[I] Java is not supported real? [lucene]
dabao1990 opened a new issue, #13960:
URL: https://github.com/apache/lucene/issues/13960
### Description
spack install --overwrite --keep-stage --no-checksum lucene@10.0.0
[root@localhost spack-src]#java -cp /home/spack/opt/spack/linux-debian10-aarch64/gCc-8.3.0/lucene-10.0.0-kw6uqebm5b22mtktztcepwn4kelxmj7d/analysis/common/lucene-analy*-common-10.0.0.jar:/home/spa
ck/opt/spack/linux-debian10-aarch64/gcc-8.3.0/lucene-10.0.0-kw6ugebm5b22mtktztcepwn4kelxm 7d/core/lucene-core-10.0.0.ar:/home/spack/opt/spack/linux-debian10 aarch64/gcc-8.3.0/lucene-10.0.0-kw6uq
ebm5b22mtktztcepwn4kelxmj7d/demo/lucene-demo-10.0.0.jar:/home/spack/opt/spack/linux-debian10-aarch64/gcc-8.3.0/lucene-10.0.0-kw6uqebm5b22mtktztcepwn4kelxmj7d/queryparser/lucene-queryparser-10.0.0
jar org apache.lucene.demo.IndexFiles -docs lucene_index -index index
Error: LinkageError occurred while loading main class org.apache.lucene.demo.IndexFiles
java.Lang.UnsupportedclassVersionError: org/apache/lucene/demo/IndexFiles has been compiled by a more recent version of the Java Runtime (class file version 65.0), this version of the Jav
a Runtime only recognizes class file versions up to 55.0
[root@localhost spack-src]#
I use spack to install and run the following command. This error is reported. This is because the running environment is too low. However, when I try to install openjdk@22 and 30, the following problems are reported:
### Version and environment details
_No response_
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org
Re: [I] Java is not supported real? [lucene]
Posted by "dabao1990 (via GitHub)" <gi...@apache.org>.
dabao1990 commented on issue #13960:
URL: https://github.com/apache/lucene/issues/13960#issuecomment-2442972571
> Java 21 is the required minimum for Lucene 10.
>
> You mentioned additional failures after installing java 22, could you provide that information?
After cleaning up the environment, I retested it and found that the problem was solved using openjkd@22.0. I'm off that question.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org
Re: [I] Java is not supported real? [lucene]
Posted by "benwtrent (via GitHub)" <gi...@apache.org>.
benwtrent commented on issue #13960:
URL: https://github.com/apache/lucene/issues/13960#issuecomment-2441405534
Java 21 is the required minimum for Lucene 10.
You mentioned additional failures after installing java 22, could you provide that information?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org
Re: [I] Java is not supported real? [lucene]
Posted by "romseygeek (via GitHub)" <gi...@apache.org>.
romseygeek closed issue #13960: Java is not supported real?
URL: https://github.com/apache/lucene/issues/13960
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org