On 6/3/2022 1:18 PM, Rahul Goswami wrote:
Thanks for the detailed response Shawn. I intend to run the code on JRE 11. However the build machine I have access to has JDK 8. Are there any known concerns (performance or otherwise) with code built on Java 8 and running on Java 11?
Building on 8 and running on 11 should be fine. The reverse should also be true -- JDK 11 should build Solr 8.x in a format that is fully compatible with Java 8.
Also, curious why do you say this? "The build will likely not work on Windows."
I once tried the 8.x build on Windows 10 using Command Prompt. It failed because it couldn't run perl. And I suspect there may be other requirements easily satisfied by a Linux install that are not typically found on Windows.
The main branch build (version 10.0.0-SNAPSHOT) also fails when running from Command Prompt. That build system is Gradle, 8.x is Ant+Ivy.
Good news though... if you have Git for Windows installed and have installed Git Bash as part of that ... both the 8.11 build and the main branch build succeeded in Git Bash -- which DOES have perl. I have Oracle JDK 11.0.12 installed on my Windows machine. This falls within the free license for Oracle Java -- I am only using it for development, not production.
Thanks, Shawn