mpdude opened a new pull request, #4765:
URL: https://github.com/apache/solr/pull/4765

   I am trying to start Solr in a virtual `arm64` Linux machine on Apple 
Silicon hardware. To my knowledge, this configuration does (currently?) not 
support SVE vector length detection.
   
   When `bin/solr` runs `java -version`, this makes the JVM emit a notice:
   
   ```
   Starting Solr
   Your current version of Java is too old to run this version of Solr.
   We found major version , using command '/opt/java/openjdk/bin/java 
-version', with response:
   OpenJDK 64-Bit Server VM warning: Unable to get SVE vector length on this 
system. Disabling SVE. Specify -XX:UseSVE=0 to shun this warning.
   openjdk version "25.0.3" 2026-04-21 LTS
   OpenJDK Runtime Environment Temurin-25.0.3+9 (build 25.0.3+9-LTS)
   OpenJDK 64-Bit Server VM Temurin-25.0.3+9 (build 25.0.3+9-LTS, mixed mode, 
sharing)
   
   Please install latest version of Java 21 or set JAVA_HOME properly.
   ```
   
   Version detection trips over this extra warning line, so my suggestion is to 
disable SVE for the version check. Any performance impact it might have is 
probably neglectable for this case.
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to