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-unsubscr...@lucene.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org