The recently released Azure Synapse Runtime for Apache Spark 3.5 does indeed support Java 17. According to the official documentation on Microsoft Learn, the Azure Synapse Runtime for Apache Spark 3.5 includes Java 17 as part of its runtime components
This aligns with the information provided in the public preview announcement, which confirms that Java 17 is supported
However, there seems to be a discrepancy with the GitHub page for this runtime, which specifies Java version 11.0.27
This might be due to an oversight or an update that hasn't been reflected on the GitHub page yet.
it is recommended to refer to the official documentation on Microsoft Learn and the release notes for Azure Synapse Runtime for Apache Spark 3.5
https://learn.microsoft.com/en-us/azure/synapse-analytics/spark/apache-spark-35-runtime